[Bug 771505] Re: testresources should use super() when calling setUp/tearDown

James Page james.page at ubuntu.com
Tue Mar 8 13:33:29 UTC 2016


** Changed in: testresources (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to testresources in Ubuntu.
https://bugs.launchpad.net/bugs/771505

Title:
  testresources should use super() when calling setUp/tearDown

Status in testresources:
  Fix Released
Status in testresources package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: python-testresources

  In python2.7, unittest.TestCase is a new-style class;
  testtools.ResourcedTestCase should use super() when calling setUp and
  tearDown in order to avoid breaking multiple inheritance.

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/testresources/+bug/771505/+subscriptions



More information about the foundations-bugs mailing list