Test suite broken on windows by twisted Deferred changes

Bug #663540 reported by Martin Packman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
testtools
Fix Released
Critical
Jonathan Lange

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.

Revision history for this message
Jonathan Lange (jml) wrote :

Sadly, until we set up something that automatically runs tests on Windows, things like this will keep happening.

Changed in testtools:
status: New → Triaged
importance: Undecided → High
Jonathan Lange (jml)
Changed in testtools:
status: Triaged → In Progress
assignee: nobody → Jonathan Lange (jml)
milestone: none → next
status: In Progress → Fix Committed
Changed in testtools:
importance: High → Critical
Changed in testtools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.