From: Gregory P. Smith Date: Thu, 4 Mar 2010 18:26:53 +0000 (+0000) Subject: issue8053 - logic was inverted on which platforms to run a test on. X-Git-Tag: v2.6.5rc2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=319809845908ca093eecb44c9c3da07c1942ab52;p=thirdparty%2FPython%2Fcpython.git issue8053 - logic was inverted on which platforms to run a test on. caused test_thread to fail on windows. --- diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py index 09ce6b676063..4d2c06ef1094 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):