gh-109418: Fix hypothesis strategy for b2a_roundtrip test (#109419)

This commit is contained in:
Nikita Sobolev 2023-09-14 23:38:31 +03:00 committed by GitHub
parent 3b9d10b031
commit d7dc3d9455
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):