mirror of
https://github.com/python/cpython.git
synced 2025-08-15 22:30:42 +00:00
issue8053 - logic was inverted on which platforms to run a test on.
caused test_thread to fail on windows.
This commit is contained in:
parent
7eda9e9082
commit
3198098459
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue