Edgewall Software

Opened 14 years ago

Last modified 14 years ago

#9682 closed defect

Test suite fails on Python 2.7 — at Initial Version

Reported by: Remy Blank Owned by: Remy Blank
Priority: normal Milestone: 0.12.2
Component: general Version: 0.12-stable
Severity: normal Keywords: python27
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

The test suite has been reported by the Gentoo Linux project to fail on Python 2.7:

Traceback (most recent call last):
  File "trac/test.py", line 441, in <module>
    unittest.main(defaultTest='suite')
  File "/usr/lib64/python2.7/unittest/main.py", line 95, in __init__
    self.runTests()
  File "/usr/lib64/python2.7/unittest/main.py", line 229, in runTests
    self.result = testRunner.run(self.test)
  File "/usr/lib64/python2.7/unittest/runner.py", line 151, in run
    test(result)
  File "/usr/lib64/python2.7/unittest/suite.py", line 65, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib64/python2.7/unittest/suite.py", line 85, in run
    self._wrapped_run(result)
  File "/usr/lib64/python2.7/unittest/suite.py", line 115, in _wrapped_run
    test._wrapped_run(result, debug)
  File "/usr/lib64/python2.7/unittest/suite.py", line 115, in _wrapped_run
    test._wrapped_run(result, debug)
  File "/usr/lib64/python2.7/unittest/suite.py", line 115, in _wrapped_run
    test._wrapped_run(result, debug)
  File "/usr/lib64/python2.7/unittest/suite.py", line 115, in _wrapped_run
    test._wrapped_run(result, debug)
TypeError: _wrapped_run() takes exactly 2 arguments (3 given)

Change History (0)

Note: See TracTickets for help on using tickets.