We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b57de7 commit 5b0ea4aCopy full SHA for 5b0ea4a
hypothesis-python/src/hypothesis/internal/conjecture/shrinking/bytes.py
@@ -14,9 +14,6 @@
14
15
class Bytes(Collection):
16
def __init__(self, initial, predicate, **kwargs):
17
- # shrink by interpreting the bytes as an integer.
18
- # move to Collection.shrink when we support variable-size bytes,
19
- # because b'\x00\x02' could shrink to either b'\x00\x01' or b'\x02'.
20
super().__init__(
21
# implicit conversion from bytes to list of integers here
22
list(initial),
0 commit comments