From d7dc3d9455de93310ccde13ceafe84d426790a5c Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Thu, 14 Sep 2023 23:38:31 +0300 Subject: gh-109418: Fix hypothesis strategy for b2a_roundtrip test (#109419) --- Lib/test/test_binascii.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_binascii.py b/Lib/test/test_binascii.py index 3d3e074..ef744f6 100644 --- a/Lib/test/test_binascii.py +++ b/Lib/test/test_binascii.py @@ -230,7 +230,7 @@ class BinASCIITest(unittest.TestCase): binascii.b2a_uu(b"", True) @hypothesis.given( - binary=hypothesis.strategies.binary(), + binary=hypothesis.strategies.binary(max_size=45), backtick=hypothesis.strategies.booleans(), ) def test_b2a_roundtrip(self, binary, backtick): -- cgit v0.12