forked from pool/python-paramiko
- Update to 3.4.1:
* Fix a 64-bit-ism in the test suite so the tests don't
encounter a false negative on 32-bit systems.
* Modify a test-harness skiptest check to work with newer
versions of Cryptography.
* Massage our import of the TripleDES cipher to support
Cryptography >=43; this should prevent
CryptographyDeprecationWarning from appearing upon import.
- Remove patches that are not needed anymore since they've
been fixed upstream:
* support-pytest-8.patch
* use-64-bit-maxsize-everywhere.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=123
This commit is contained in:
13
paramiko-test_extend_timeout.patch
Normal file
13
paramiko-test_extend_timeout.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
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):
|
||||
Reference in New Issue
Block a user