From: Nikita Sobolev Date: Thu, 14 Sep 2023 20:38:31 +0000 (+0300) Subject: gh-109418: Fix hypothesis strategy for b2a_roundtrip test (#109419) X-Git-Tag: v3.13.0a1~434 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d7dc3d9455de93310ccde13ceafe84d426790a5c;p=thirdparty%2FPython%2Fcpython.git gh-109418: Fix hypothesis strategy for b2a_roundtrip test (#109419) --- diff --git a/Lib/test/test_binascii.py b/Lib/test/test_binascii.py index 3d3e0746e9bf..ef744f6b9725 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):