diff options
| author | Sofian Brabez <sbz@FreeBSD.org> | 2016-11-30 22:38:21 +0000 |
|---|---|---|
| committer | Sofian Brabez <sbz@FreeBSD.org> | 2016-11-30 22:38:21 +0000 |
| commit | 641274001cbfa0e8fa78a31a0b489891941f8282 (patch) | |
| tree | 1d97ae06dd1ad251bd759886ef80880942c9a479 /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.py | 11 |
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) |
