bzrlib.tests.blackbox.test_init.TestSFTPInit fails when run alone
Wouter van Heyst
larstiq at larstiq.dyndns.org
Wed Jul 18 21:24:38 BST 2007
On Wed, Jul 18, 2007 at 01:27:16PM -0500, John Arbash Meinel wrote:
> Andrew Bennetts wrote:
> > When running just the blackbox tests I see the following failure:
> >
> > ----
> > $ ./bzr --no-plugins selftest bzrlib.tests.blackbox.test_init.TestSFTPInit
> > [...]
> >
> > FAIL: blackbox.test_init.TestSFTPInit.test_init
> > not equal:
> > a = ''
> > b = "/var/lib/python-support/python2.5/paramiko/message.py:226: DeprecationWarning: integer argument expected, got float\n self.packet.write(struct.pack('>I', n))\n"
> > ----
> >
> > This doesn't happen in the full run, because the deprecation warning is only
> > shown once and gets triggered earlier when it is harmless.
> >
> > Using a newer version of paramiko solves this particular problem, but the
> > general issue is that deprecation warnings should not affect the result of
> > blackbox tests. If people agree, I'll file a bug about this (probably with
> > importance "low").
>
> Well, it sounds like something we will run into in some sort of an sftp
> test if it doesn't happen here. Since PQM runs with -Werror. Is it just
> that dapper paramiko with python2.4 doesn't cause this warning?
It is a python2.5 change, so yes.
Wouter van Heyst
More information about the bazaar
mailing list