forked from pool/python-paramiko
* 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
14 lines
540 B
Diff
14 lines
540 B
Diff
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):
|