Show More
@@ -495,7 +495,10 b' class InteractiveShellTestCase(unittest.TestCase):' | |||
|
495 | 495 | raise DerivedInterrupt("foo") |
|
496 | 496 | except KeyboardInterrupt: |
|
497 | 497 | msg = ip.get_exception_only() |
|
498 | if sys.version_info[0] <= 2: | |
|
498 | 499 | self.assertEqual(msg, 'DerivedInterrupt: foo\n') |
|
500 | else: | |
|
501 | self.assertEqual(msg, 'IPython.core.tests.test_interactiveshell.DerivedInterrupt: foo\n') | |
|
499 | 502 | |
|
500 | 503 | class TestSafeExecfileNonAsciiPath(unittest.TestCase): |
|
501 | 504 |
General Comments 0
You need to be logged in to leave comments.
Login now