Show More
@@ -379,10 +379,12 b' def test_handlers():' | |||||
379 | handler(*sys.exc_info()) |
|
379 | handler(*sys.exc_info()) | |
380 | buff.write('') |
|
380 | buff.write('') | |
381 |
|
381 | |||
|
382 | from IPython.testing.decorators import skipif | |||
382 |
|
383 | |||
383 | class TokenizeFailureTest(unittest.TestCase): |
|
384 | class TokenizeFailureTest(unittest.TestCase): | |
384 | """Tests related to https://github.com/ipython/ipython/issues/6864.""" |
|
385 | """Tests related to https://github.com/ipython/ipython/issues/6864.""" | |
385 |
|
386 | |||
|
387 | @skipif(sys.version_info > (3,8)) | |||
386 | def testLogging(self): |
|
388 | def testLogging(self): | |
387 | message = "An unexpected error occurred while tokenizing input" |
|
389 | message = "An unexpected error occurred while tokenizing input" | |
388 | cell = 'raise ValueError("""a\nb""")' |
|
390 | cell = 'raise ValueError("""a\nb""")' |
General Comments 0
You need to be logged in to leave comments.
Login now