summaryrefslogtreecommitdiff
path: root/security/py-paramiko/files
diff options
context:
space:
mode:
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)