You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File ".../hypothesis/hypothesis-python/tests/cover/test_reproduce_failure.py", line 37, in test_encoding_loopassert decode_failure(encode_failure(b)) == b
File ".../hypothesis/core.py", line 357, in encode_failurereturn base64.b64encode(buffer)
File ".../lib/python3.10/base64.py", line 58, in b64encode
encoded = binascii.b2a_base64(s, newline=False)
TypeError: a bytes-like object is required, not 'SymbolicBytes'
and unlike e.g. #286, base64-encoding seems suffiently well-behaved that it would be feasible to have a symbolic implementation instead of realizing. Thoughts?
The text was updated successfully, but these errors were encountered:
and unlike e.g. #286, base64-encoding seems suffiently well-behaved that it would be feasible to have a symbolic implementation instead of realizing. Thoughts?
Yeah, very feasible! (heh, though I've been putting off a similar support for int(s, base=n) where n != 10)
Recent upgrades fixed enough prior problems for HypothesisWorks/hypothesis#4034 to uncover:
and unlike e.g. #286, base64-encoding seems suffiently well-behaved that it would be feasible to have a symbolic implementation instead of realizing. Thoughts?
The text was updated successfully, but these errors were encountered: