Show More
@@ -238,6 +238,12 b' class InputSplitterTestCase(unittest.TestCase):' | |||
|
238 | 238 | for line in [' x=1', '# a comment', ' y=2']: |
|
239 | 239 | self.assertTrue(isp.push(line)) |
|
240 | 240 | |
|
241 | def test_push3(self): | |
|
242 | isp = self.isp | |
|
243 | isp.push('if True:') | |
|
244 | isp.push(' a = 1') | |
|
245 | self.assertFalse(isp.push('b = [1,')) | |
|
246 | ||
|
241 | 247 | def test_replace_mode(self): |
|
242 | 248 | isp = self.isp |
|
243 | 249 | isp.input_mode = 'cell' |
General Comments 0
You need to be logged in to leave comments.
Login now