Show More
@@ -929,5 +929,7 b' def test_custom_exc_count():' | |||
|
929 | 929 | ip.set_custom_exc((SyntaxError,), hook) |
|
930 | 930 | before = ip.execution_count |
|
931 | 931 | ip.run_cell("def foo()", store_history=True) |
|
932 | # restore default excepthook | |
|
933 | ip.set_custom_exc((), None) | |
|
932 | 934 | nt.assert_equal(hook.call_count, 1) |
|
933 | 935 | nt.assert_equal(ip.execution_count, before + 1) |
General Comments 0
You need to be logged in to leave comments.
Login now