testtools should use super() when calling setUp/tearDown

Bug #771508 reported by Tim Cole on 2011-04-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tim Cole
python-testtools (Ubuntu)
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.

  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) on 2011-05-17
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) on 2012-03-11
Changed in python-testtools (Ubuntu):
status: New → In Progress
assignee: nobody → Jelmer Vernooij (jelmer)
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  Edit
Everyone can see this information.

Other bug subscribers