diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py index 09ce6b6760..4d2c06ef10 100644 --- a/Lib/test/test_thread.py +++ b/Lib/test/test_thread.py @@ -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):