diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py index 09ce6b67606..4d2c06ef109 100644 --- a/Lib/test/test_thread.py +++ b/Lib/test/test_thread.py @@ -192,7 +192,7 @@ def thread1(): 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):