testtools-dev team mailing list archive
-
testtools-dev team
-
Mailing list archive
-
Message #00192
[Bug 663540] Re: Test suite broken on windows by twisted Deferred changes
Sadly, until we set up something that automatically runs tests on
Windows, things like this will keep happening.
** Changed in: testtools
Status: New => Triaged
** Changed in: testtools
Importance: Undecided => High
--
Test suite broken on windows by twisted Deferred changes
https://bugs.launchpad.net/bugs/663540
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.
Status in testtools: Triaged
Bug description:
Trying to run the test suite fails with:
Traceback (most recent call last):
File "testtools\run.py", line 280, in ?
program = TestProgram(argv=sys.argv, testRunner=runner)
File "testtools\run.py", line 133, in __init__
self.parseArgs(argv)
File "testtools\run.py", line 188, in parseArgs
self.createTests()
File "testtools\run.py", line 197, in createTests
self.module)
File "C:\Python24\lib\unittest.py", line 556, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "C:\Python24\lib\unittest.py", line 524, in loadTestsFromName
module = __import__('.'.join(parts_copy))
File "...\testtools\tests\__init__.py", line 6, in ?
from testtools.tests import (
File "...\testtools\tests\test_deferredruntest.py", line 11, in ?
from testtools.deferredruntest import (
File "...\testtools\deferredruntest.py", line 18, in ?
from testtools._spinner import (
File "...\testtools\_spinner.py", line 142, in ?
class Spinner(object):
File "...\testtools\_spinner.py", line 154, in Spinner
_PRESERVED_SIGNALS = [
AttributeError: 'module' object has no attribute 'SIGCHLD'
Ideally, no signal junk should be used on windows at all, but at the least the non-existance of some signals needs guarding against.
References