testtools should use super() when calling setUp/tearDown

Bug #771508 reported by Tim Cole
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
testtools
Fix Released
Low
Tim Cole
python-testtools (Ubuntu)
Fix Released
Undecided
Jelmer Vernooij

Bug Description

Binary package hint: python-testtools

In python 2.7, unittest.TestCase is a new-style class. testtools.TestCase should use super() when calling setUp/tearDown in order to avoid breaking multiple inheritance.

python-testtools:
  Installed: 0.9.8-1
  Candidate: 0.9.8-1
  Version table:
 *** 0.9.8-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

Related branches

Jonathan Lange (jml)
Changed in testtools:
status: New → Fix Committed
assignee: nobody → Tim Cole (tcole)
milestone: none → next
importance: Undecided → Low
Changed in testtools:
status: Fix Committed → Fix Released
Jelmer Vernooij (jelmer)
Changed in python-testtools (Ubuntu):
status: New → In Progress
assignee: nobody → Jelmer Vernooij (jelmer)
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

precise has 0.9.14, which has the fix for this.

Changed in python-testtools (Ubuntu):
status: In Progress → 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.