TestCase.setUp was not called
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dulwich |
Fix Released
|
Low
|
Dan Callaghan |
Bug Description
A number of Dulwich 0.8.0 tests fail in Python 2.6 with testtools 0.9.11. The failures all look like this:
=======
ERROR: dulwich.
-------
_StringException: Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib64/
return fn(*args, **kwargs)
File "/usr/lib64/
% self.__
ValueError: TestCase.setUp was not called. Have you upcalled all the way up the hierarchy from your setUp? e.g. Call super(DeltaChai
Patch attached.
Changed in dulwich: | |
status: | New → Fix Committed |
milestone: | none → 0.8.1 |
importance: | Undecided → Low |
assignee: | nobody → Dan Callaghan (djc) |
Changed in dulwich: | |
status: | Fix Committed → Fix Released |
Thanks for the patch.
Actually, testtools is no longer supported in Dulwich post-0.8.0. It now just uses unittest or unittest2, neither of which raise this exception.