There was an error while loading. Please reload this page.
1 parent f73db91 commit 3419e24Copy full SHA for 3419e24
hypothesis-python/src/hypothesis/internal/conjecture/optimiser.py
@@ -124,8 +124,10 @@ def attempt_replace(v):
124
# component we want to give it a couple of tries to succeed.
125
for _ in range(3):
126
attempt = self.engine.cached_test_function(
127
- prefix + v_as_bytes + self.current_data.buffer[block.end :],
128
- extend=BUFFER_SIZE,
+ prefix
+ + v_as_bytes
129
+ + self.current_data.buffer[block.end :]
130
+ + bytes(BUFFER_SIZE),
131
)
132
133
if self.consider_new_test_data(attempt):
0 commit comments