summaryrefslogtreecommitdiff
path: root/security/py-paramiko/files
diff options
context:
space:
mode:
authorSofian Brabez <sbz@FreeBSD.org>2016-11-30 22:38:21 +0000
committerSofian Brabez <sbz@FreeBSD.org>2016-11-30 22:38:21 +0000
commit641274001cbfa0e8fa78a31a0b489891941f8282 (patch)
tree1d97ae06dd1ad251bd759886ef80880942c9a479 /security/py-paramiko/files
parent- Update to 0.7.0 (diff)
- Update to 2.0.2
- Allow Python concurrent installation - Use do-test target instead regression-test
Diffstat (limited to 'security/py-paramiko/files')
-rw-r--r--security/py-paramiko/files/patch-tests_test__packetizer.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/py-paramiko/files/patch-tests_test__packetizer.py b/security/py-paramiko/files/patch-tests_test__packetizer.py
new file mode 100644
index 000000000000..3e6bd1aac340
--- /dev/null
+++ b/security/py-paramiko/files/patch-tests_test__packetizer.py
@@ -0,0 +1,11 @@
+--- tests/test_packetizer.py.orig 2016-11-30 22:24:28 UTC
++++ tests/test_packetizer.py
+@@ -114,7 +114,7 @@ class PacketizerTest (unittest.TestCase)
+ class TimeoutError(Exception):
+ pass
+
+- def timeout(seconds=1, error_message=os.strerror(errno.ETIME)):
++ def timeout(seconds=1, error_message='Timer expired'):
+ def decorator(func):
+ def _handle_timeout(signum, frame):
+ raise TimeoutError(error_message)