mirror of https://github.com/python/cpython
issue8053 - logic was inverted on which platforms to run a test on.
caused test_thread to fail on windows.
This commit is contained in:
parent
7eda9e9082
commit
3198098459
|
@ -192,7 +192,7 @@ class TestForkInThread(unittest.TestCase):
|
|||
self.assertEqual(os.read(self.read_fd, 2), "OK",
|
||||
"Unable to fork() in thread")
|
||||
|
||||
if sys.platform.startswith('win'):
|
||||
if not sys.platform.startswith('win'):
|
||||
test_forkinthread = _test_forkinthread
|
||||
|
||||
def tearDown(self):
|
||||
|
|
Loading…
Reference in New Issue