test_transport_sftp backtraces if paramiko isn't present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Matt Nordhoff |
Bug Description
I'm making Exherbo packages for bzr 2.0.1, and while running bzr I came across this test failure.
It happens when I run bzr tests without having paramiko installed. Python version is 2.6.2
It's reproducable for me, the bug is present in bzr 2.0.0 too, this worked for 1.16.1 as far as I can remember.
ERROR: test_transport_sftp (bzrlib.
-------
Traceback (most recent call last):
File "/var/tmp/
except ParamikoNotPresent:
NameError: global name 'ParamikoNotPre
-------
Ran 22132 tests in 3956.896s
FAILED (errors=1, known_failure_
Related branches
- John A Meinel: Approve
-
Diff: 28 lines2 files modifiedNEWS (+3/-0)
bzrlib/tests/test_selftest.py (+2/-2)
Changed in bzr: | |
assignee: | nobody → Matt Nordhoff (mnordhoff) |
Changed in bzr: | |
milestone: | none → 2.0.2 |
status: | New → Fix Released |
Changed in bzr: | |
importance: | Undecided → Medium |
I can confirm this in 2.0. If you change the line to this it will work:
except errors. ParamikoNotPres ent:
It's been fixed in bzr.dev:
<http:// bazaar. launchpad. net/~bzr- pqm/bzr/ bzr.dev/ revision/ 4645.2. 1>