python-paramiko/paramiko-test_extend_timeout.patch

14 lines
540 B
Diff
Raw Normal View History

Index: paramiko-2.5.0/tests/test_buffered_pipe.py
===================================================================
--- paramiko-2.5.0.orig/tests/test_buffered_pipe.py
+++ paramiko-2.5.0/tests/test_buffered_pipe.py
@@ -68,7 +68,7 @@ class BufferedPipeTest(unittest.TestCase
self.assertTrue(False)
except PipeTimeout:
pass
- self.assertEqual(b"b", p.read(1, 1.0))
+ self.assertEqual(b"b", p.read(1, 3.0))
self.assertEqual(b"", p.read(1))
def test_close_while_reading(self):