python-paramiko/use-64-bit-maxsize-everywhere.patch

20 lines
681 B
Diff
Raw Normal View History

Index: paramiko-3.4.0/tests/test_transport.py
===================================================================
--- paramiko-3.4.0.orig/tests/test_transport.py
+++ paramiko-3.4.0/tests/test_transport.py
@@ -1423,12 +1423,12 @@ class TestStrictKex:
setattr(
self.packetizer,
"_Packetizer__sequence_number_in",
- sys.maxsize,
+ 2**63-1,
)
setattr(
self.packetizer,
"_Packetizer__sequence_number_out",
- sys.maxsize,
+ 2**63-1,
)
with raises(