We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
BasicIndexStrategy
1 parent 73fc486 commit 8e760caCopy full SHA for 8e760ca
hypothesis-python/src/hypothesis/extra/_array_helpers.py
@@ -685,7 +685,7 @@ def do_draw(self, data):
685
while j < len(result) and result[j] == slice(None):
686
j += 1
687
result[i:j] = [Ellipsis]
688
- elif self.allow_fewer_indices_than_dims:
+ elif self.allow_fewer_indices_than_dims: # pragma: no cover
689
while result[-1:] == [slice(None, None)] and data.draw(st.integers(0, 7)):
690
result.pop()
691
if len(result) == 1 and data.draw(st.booleans()):
0 commit comments