[New-bugs-announce] [issue8053] test_thread fails on Windows

Martin v. Löwis report at bugs.python.org
Thu Mar 4 08:24:44 CET 2010


New submission from Martin v. Löwis <martin at v.loewis.de>:

test_thread currently fails, then hangs on Windows with this output:

test_thread
Unhandled exception in thread started by <function thread1 at 0x0182E4F0>
Traceback (most recent call last):
  File "C:\Python26\lib\test\test_thread.py", line 180, in thread1
    pid = os.fork() # fork in a thread
AttributeError: 'module' object has no attribute 'fork'

I believe the logic in r78551 is reverted: the test should be executed if the sys.platform does *not* start with "win". Negating the condition makes test_thread pass on Windows.

----------
assignee: gregory.p.smith
messages: 100378
nosy: barry, gregory.p.smith, loewis
priority: release blocker
severity: normal
status: open
title: test_thread fails on Windows
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8053>
_______________________________________


More information about the New-bugs-announce mailing list