1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/testing/mitmproxy/intlimit.patch
2022-11-24 07:13:48 +01:00

13 lines
556 B
Diff

diff --git a/test/mitmproxy/io/test_tnetstring.py b/test/mitmproxy/io/test_tnetstring.py
index caf37fe..250bf74 100644
--- a/test/mitmproxy/io/test_tnetstring.py
+++ b/test/mitmproxy/io/test_tnetstring.py
@@ -87,7 +87,7 @@ class Test_Format(unittest.TestCase):
self.assertEqual((v, b""), tnetstring.pop(tnetstring.dumps(v)))
def test_roundtrip_big_integer(self):
- i1 = math.factorial(30000)
+ i1 = math.factorial(1557)
s = tnetstring.dumps(i1)
i2 = tnetstring.loads(s)
self.assertEqual(i1, i2)