Skip to content

Commit

Permalink
bad checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
reaganjlee committed Aug 19, 2024
1 parent 141d74c commit cc2d5b2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion hypothesis-python/src/hypothesis/stateful.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,16 @@ def output(s):
for k, v in list(data.items()):
if isinstance(v, VarReference):
data[k] = machine.names_to_values[v.name]
elif isinstance(v, list) and all(
isinstance(item, VarReference) for item in v
):




data[k] = [machine.names_to_values[item.name] for item in v]


label = f"execute:rule:{rule.function.__name__}"
start = perf_counter()
start_gc = gc_cumulative_time()
Expand Down Expand Up @@ -538,7 +547,8 @@ def do_draw(self, data):
out = machine.names_to_values[reference.name]
if self.consume:
bundle.remove(reference) # pragma: no cover # coverage is flaky here
return out
# return out
return reference

def __repr__(self):
consume = self.consume # __reference_strategy.consume
Expand Down

0 comments on commit cc2d5b2

Please sign in to comment.