Tests of 0.9.7 fail with Python 3.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Fix Released
|
Critical
|
Martin Packman | ||
Gentoo Linux |
Fix Released
|
Medium
|
Bug Description
As you can see, Python 2.6.5 runs perfectly fine, while Python 3.1.2 fails.
* Testing of dev-python/
Tests running...
Ran 362 tests in 0.387s
OK
* Testing of dev-python/
Tests running...
=======
ERROR: testtools.
-------
Text attachment: traceback
------------
Traceback (most recent call last):
File "testtools/
return addSkip(test, details=details)
TypeError: addSkip() got an unexpected keyword argument 'details'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "testtools/
return fn(*args)
File "testtools/
testMethod()
File "testtools/
{'reason': Content(UTF8_TEXT, lambda:['foo'])})
File "testtools/
getattr(
File "testtools/
reason = ''.join(
File "testtools/
yield decoder.
File "/usr/lib/
data = self.buffer + input
TypeError: can't concat bytes to str
------------
Ran 362 tests in 0.911s
Related branches
- testtools developers: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedtesttools/tests/test_testresult.py (+1/-1)
Changed in gentoo: | |
status: | Unknown → Confirmed |
Changed in testtools: | |
status: | In Progress → Fix Committed |
milestone: | none → next |
Changed in testtools: | |
importance: | High → Critical |
Changed in testtools: | |
status: | Fix Committed → Fix Released |
Changed in gentoo: | |
status: | Confirmed → Fix Released |
Changed in gentoo: | |
importance: | Unknown → Medium |
Thanks for the report. Will try to fix as soon as possible.
In the meantime, I'd welcome any tips you've got on I can run tests against every Python out there.