Skip to content

Commit

Permalink
Add comment for paramiko workaround for edge case.
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Apr 21, 2016
1 parent 9aa55e5 commit 9e16310
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions odo/backends/tests/test_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@
pytest.skip('Could not connect')
except paramiko.PasswordRequiredException as e:
pytest.skip(str(e))
except paramiko.SSHException:
pytest.skip('Could not connect')
except paramiko.SSHException as e:
pytest.skip(str(e))
except TypeError:
# NOTE: This is a workaround for paramiko version 1.16.0 on Python 3.4,
# that raises a TypeError due to improper indexing internally into
# dict_keys when a ConnectionRefused error is raised.
# KWS 2016-04-21.
pytest.skip('Could not connect')


Expand Down

0 comments on commit 9e16310

Please sign in to comment.