Skip to content

Commit d7dc3d9

Browse files
authored
gh-109418: Fix hypothesis strategy for b2a_roundtrip test (#109419)
1 parent 3b9d10b commit d7dc3d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_binascii.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def test_uu(self):
230230
binascii.b2a_uu(b"", True)
231231

232232
@hypothesis.given(
233-
binary=hypothesis.strategies.binary(),
233+
binary=hypothesis.strategies.binary(max_size=45),
234234
backtick=hypothesis.strategies.booleans(),
235235
)
236236
def test_b2a_roundtrip(self, binary, backtick):

0 commit comments

Comments
 (0)