testresources should use super() when calling setUp/tearDown
Bug #771505 reported by
Tim Cole
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testresources |
Fix Released
|
Critical
|
Unassigned | ||
testresources (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-
In python2.7, unittest.TestCase is a new-style class; testtools.
python-
Installed: 0.2.4-1
Candidate: 0.2.4-1
Version table:
*** 0.2.4-1 0
500 http://
100 /var/lib/
Related branches
lp:~tcole/testresources/use-super
- testresources developers: Pending requested
-
Diff: 116 lines (+44/-6)3 files modifiedlib/testresources/__init__.py (+2/-2)
lib/testresources/tests/test_optimising_test_suite.py (+3/-3)
lib/testresources/tests/test_resourced_test_case.py (+39/-1)
summary: |
- testtools should use super() when calling setUp/tearDown + testresources should use super() when calling setUp/tearDown |
Changed in testresources: | |
milestone: | none → next |
status: | Fix Committed → Fix Released |
Changed in testresources (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
Actually this has been an issue since python 2.4, but we're only now starting to get bitten by it.