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):
John A Meinel пишет: TestCase. failUnlessExist s" function. It just happens that
> 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.
> 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, s(self, path): Exists( path)
4)))
def failUnlessExist
return self.assertPath
--
All the dude wanted was his rug back