From 319809845908ca093eecb44c9c3da07c1942ab52 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Thu, 4 Mar 2010 18:26:53 +0000 Subject: [PATCH] issue8053 - logic was inverted on which platforms to run a test on. caused test_thread to fail on windows. --- Lib/test/test_thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ 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):