← Back to team overview

testtools-dev team mailing list archive

[Bug 663540] Re: Test suite broken on windows by twisted Deferred changes

 

** Changed in: testtools
   Importance: High => Critical

-- 
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.
https://bugs.launchpad.net/bugs/663540

Title:
  Test suite broken on windows by twisted Deferred changes

Status in testtools:
  Fix Committed

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