Comment 2 for bug 794960

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 794960] [NEW] bzr 2.3.3 emits Deprecation Warnings about bzr 2.4

John A Meinel пишет:
> On 6/9/2011 12:29 PM, Alexander Belchenko wrote:
>> Public bug reported:
>>
>> That's harmless but rather odd to see DeprecationWarnings about bzr 2.4
>> while I'm running 2.3.3. Time machine in action?
>
> Actually, that is *python-2.4* deprecated the
> "unittest.TestCase.failUnlessExists" function. It just happens that
> python2.6 turned on the warnings to be visible.

I don't think so.

bzrlib/tests/__init__.py has the following code (in 2.3 branch):

@symbol_versioning.deprecated_method(symbol_versioning.deprecated_in((2,
4)))
     def failUnlessExists(self, path):
         return self.assertPathExists(path)

--
All the dude wanted was his rug back