diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2010-03-04 18:26:53 +0000 |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2010-03-04 18:26:53 +0000 |
commit | 319809845908ca093eecb44c9c3da07c1942ab52 (patch) | |
tree | c41efe854a7fb3ace1429925bae11116218508d8 /Lib/test/test_thread.py | |
parent | 7eda9e9082f9d0efcac61e7df0955f4263b3eea7 (diff) | |
download | cpython-git-319809845908ca093eecb44c9c3da07c1942ab52.tar.gz |
issue8053 - logic was inverted on which platforms to run a test on.
caused test_thread to fail on windows.
Diffstat (limited to 'Lib/test/test_thread.py')
-rw-r--r-- | Lib/test/test_thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |