summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-09-29 17:41:33 +0100
committerMichael Williamson <mike@zwobble.org>2014-09-07 18:34:02 +0100
commita6c8b1118c5dd7e49d75cc87298709a545f9d74b (patch)
tree54f6468e5b536794bcc0ec53911a377a298dd596
parent4d1945c65932fcdcbba40c17f8fbc926b140f73b (diff)
Fix error on Python 2.5
-rwxr-xr-xtests/test_sftp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_sftp.py b/tests/test_sftp.py
index e3f7e59b..743a7831 100755
--- a/tests/test_sftp.py
+++ b/tests/test_sftp.py
@@ -813,7 +813,7 @@ class SFTPTest (unittest.TestCase):
sftp.open(FOLDER + '/test2', 'w')
self.fail('expected exception')
# TODO: extract failing command (the open) to share with a passing assertion
- except EOFError as error:
+ except EOFError:
pass