projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eda9e9
)
issue8053 - logic was inverted on which platforms to run a test on.
author
Gregory P. Smith
<greg@mad-scientist.com>
Thu, 4 Mar 2010 18:26:53 +0000
(18:26 +0000)
committer
Gregory P. Smith
<greg@mad-scientist.com>
Thu, 4 Mar 2010 18:26:53 +0000
(18:26 +0000)
caused test_thread to fail on windows.
Lib/test/test_thread.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_thread.py
b/Lib/test/test_thread.py
index 09ce6b676063482a2b8e397ae95c3c86f6c27397..4d2c06ef109489592da255db5c307f4b04f7584e 100644
(file)
--- 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):