[Python-checkins] r78659 - python/branches/release26-maint/Lib/test/test_thread.py
gregory.p.smith
python-checkins at python.org
Thu Mar 4 19:26:54 CET 2010
Author: gregory.p.smith
Date: Thu Mar 4 19:26:53 2010
New Revision: 78659
Log:
issue8053 - logic was inverted on which platforms to run a test on.
caused test_thread to fail on windows.
Modified:
python/branches/release26-maint/Lib/test/test_thread.py
Modified: python/branches/release26-maint/Lib/test/test_thread.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_thread.py (original)
+++ python/branches/release26-maint/Lib/test/test_thread.py Thu Mar 4 19:26:53 2010
@@ -192,7 +192,7 @@
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):
More information about the Python-checkins
mailing list