[Bug 760435] Re: failUnless & co cause PendingDeprecationWarning

Jelmer Vernooij 760435 at bugs.launchpad.net
Wed Jun 8 09:14:55 UTC 2011


** Also affects: bzr (Ubuntu)
   Importance: Undecided
       Status: New

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

** Also affects: bzr (Ubuntu Natty)
   Importance: Undecided
       Status: New

** Changed in: bzr (Ubuntu Natty)
       Status: New => In Progress

** Changed in: bzr (Ubuntu Natty)
     Assignee: (unassigned) => Jelmer Vernooij (jelmer)

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

Title:
  failUnless & co cause PendingDeprecationWarning

Status in Bazaar Version Control System:
  Fix Released
Status in Bazaar 2.3 series:
  Fix Released
Status in Bazaar pipeline:
  Fix Committed
Status in BzrTools - Plugin suite for Bazaar:
  Fix Committed
Status in “bzr” package in Ubuntu:
  Fix Released
Status in “bzr” source package in Natty:
  In Progress

Bug description:
  bzr selftest run under -Werror on python2.7 gets a fair number of
  failures like this:

    File "/home/mbp/bzr/work/bzrlib/tests/__init__.py", line 1469, in failUnlessExists
      self.failUnless(osutils.lexists(path),path+" does not exist")
    File "/usr/lib/python2.7/unittest/case.py", line 601, in deprecated_func
      PendingDeprecationWarning, 2)
  PendingDeprecationWarning: Please use assertTrue instead.

  We should update them.




More information about the foundations-bugs mailing list