summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2010-03-04 18:26:53 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2010-03-04 18:26:53 (GMT)
commit319809845908ca093eecb44c9c3da07c1942ab52 (patch)
treec41efe854a7fb3ace1429925bae11116218508d8
parent7eda9e9082f9d0efcac61e7df0955f4263b3eea7 (diff)
downloadcpython-319809845908ca093eecb44c9c3da07c1942ab52.zip
cpython-319809845908ca093eecb44c9c3da07c1942ab52.tar.gz
cpython-319809845908ca093eecb44c9c3da07c1942ab52.tar.bz2
issue8053 - logic was inverted on which platforms to run a test on.
caused test_thread to fail on windows.
-rw-r--r--Lib/test/test_thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_thread.py b/Lib/test/test_thread.py
index 09ce6b6..4d2c06e 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):