Skip to content

Commit 9431e20

Browse files
Zac-HDLiam-DeVoe
andauthored
Apply suggestions from code review
Co-authored-by: Liam DeVoe <[email protected]>
1 parent 2ec5fae commit 9431e20

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎hypothesis/src/hypothesis/internal/conjecture/data.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ def draw(
12561256
else:
12571257
self.prefix = (
12581258
tuple(self.prefix[: self.index])
1259-
+ tuple(inverted)
1259+
+ inverted
12601260
+ tuple(self.prefix[self.index + 1 :])
12611261
)
12621262

‎hypothesis/tests/quality/test_widening_shrinks.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
2323
``just()`` values deliberately do not widen: a just() draw makes no choices,
2424
so any wide-branch encoding of its value would make the choice sequence
25-
longer, which the shrinker never accepts. The last two tests pin that.
25+
longer, which the shrinker never accepts.
2626
"""
2727

2828
import hypothesis.strategies as st

0 commit comments

Comments
 (0)