We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b02707 commit f8e5830Copy full SHA for f8e5830
hypothesis-python/src/hypothesis/internal/conjecture/data.py
@@ -631,6 +631,9 @@ def begin(self) -> None:
631
self.groups: "Dict[int, Set[Tuple[int, int]]]" = defaultdict(set)
632
633
def start_example(self, i: int, label_index: int) -> None:
634
+ # TODO should we discard start == end cases? occurs for eg st.data()
635
+ # which is conditionally or never drawn from. arguably swapping
636
+ # nodes with the empty list is a useful mutation enabled by start == end?
637
key = (self.examples[i].ir_start, self.examples[i].ir_end)
638
self.groups[label_index].add(key)
639
0 commit comments