diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-09-14 20:38:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 20:38:31 (GMT) |
commit | d7dc3d9455de93310ccde13ceafe84d426790a5c (patch) | |
tree | cedadc512d1c1b2fdfb40cca914133410b013dde /Lib/test/test_binascii.py | |
parent | 3b9d10b0316cdc2679ccad80563b7c7da3951388 (diff) | |
download | cpython-d7dc3d9455de93310ccde13ceafe84d426790a5c.zip cpython-d7dc3d9455de93310ccde13ceafe84d426790a5c.tar.gz cpython-d7dc3d9455de93310ccde13ceafe84d426790a5c.tar.bz2 |
gh-109418: Fix hypothesis strategy for b2a_roundtrip test (#109419)
Diffstat (limited to 'Lib/test/test_binascii.py')
-rw-r--r-- | Lib/test/test_binascii.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |