Show More
@@ -96,7 +96,7 b' class InteractiveShellTestCase(unittest.TestCase):' | |||||
96 | @mock_input |
|
96 | @mock_input | |
97 | def test_inputtransformer_syntaxerror(self): |
|
97 | def test_inputtransformer_syntaxerror(self): | |
98 | ip = get_ipython() |
|
98 | ip = get_ipython() | |
99 |
ip.input_transformer |
|
99 | ip.input_transformers_post.append(syntax_error_transformer) | |
100 |
|
100 | |||
101 | try: |
|
101 | try: | |
102 | #raise Exception |
|
102 | #raise Exception | |
@@ -110,7 +110,7 b' class InteractiveShellTestCase(unittest.TestCase):' | |||||
110 | yield u'print(4*4)' |
|
110 | yield u'print(4*4)' | |
111 |
|
111 | |||
112 | finally: |
|
112 | finally: | |
113 |
ip.input_transformer |
|
113 | ip.input_transformers_post.remove(syntax_error_transformer) | |
114 |
|
114 | |||
115 | def test_plain_text_only(self): |
|
115 | def test_plain_text_only(self): | |
116 | ip = get_ipython() |
|
116 | ip = get_ipython() |
General Comments 0
You need to be logged in to leave comments.
Login now