Show More
@@ -115,8 +115,8 b' class SubProcessTestCase(tt.TempFileMixin):' | |||||
115 | When interrupted in the way ipykernel interrupts IPython, the |
|
115 | When interrupted in the way ipykernel interrupts IPython, the | |
116 | subprocess is interrupted. |
|
116 | subprocess is interrupted. | |
117 | """ |
|
117 | """ | |
118 | raise RuntimeError("Is this even being run on Windows?") |
|
|||
119 | if threading.main_thread() != threading.current_thread(): |
|
118 | if threading.main_thread() != threading.current_thread(): | |
|
119 | raise RuntimeEror("Not in main thread") | |||
120 | raise nt.SkipTest("Can't run this test if not in main thread.") |
|
120 | raise nt.SkipTest("Can't run this test if not in main thread.") | |
121 |
|
121 | |||
122 | def interrupt(): |
|
122 | def interrupt(): |
General Comments 0
You need to be logged in to leave comments.
Login now