Show More
@@ -296,6 +296,11 b' except Exception:' | |||||
296 | tt.AssertPrints("ValueError", suppress=False): |
|
296 | tt.AssertPrints("ValueError", suppress=False): | |
297 | ip.run_cell(self.SUPPRESS_CHAINING_CODE) |
|
297 | ip.run_cell(self.SUPPRESS_CHAINING_CODE) | |
298 |
|
298 | |||
|
299 | def test_plain_exception(self): | |||
|
300 | with tt.AssertPrints(["KeyError", "NameError", "During handling"]): | |||
|
301 | ip.run_cell("%xmode Plain") | |||
|
302 | ip.run_cell(self.EXCEPTION_DURING_HANDLING_CODE) | |||
|
303 | ||||
299 |
|
304 | |||
300 | class RecursionTest(unittest.TestCase): |
|
305 | class RecursionTest(unittest.TestCase): | |
301 | DEFINITIONS = """ |
|
306 | DEFINITIONS = """ |
General Comments 0
You need to be logged in to leave comments.
Login now