Commit 31980984 authored by Gregory P. Smith's avatar Gregory P. Smith

issue8053 - logic was inverted on which platforms to run a test on.

caused test_thread to fail on windows.
parent 7eda9e90
...@@ -192,7 +192,7 @@ class TestForkInThread(unittest.TestCase): ...@@ -192,7 +192,7 @@ class TestForkInThread(unittest.TestCase):
self.assertEqual(os.read(self.read_fd, 2), "OK", self.assertEqual(os.read(self.read_fd, 2), "OK",
"Unable to fork() in thread") "Unable to fork() in thread")
if sys.platform.startswith('win'): if not sys.platform.startswith('win'):
test_forkinthread = _test_forkinthread test_forkinthread = _test_forkinthread
def tearDown(self): def tearDown(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment