From 77f596f77aa4d89445e858d90e11efa6755603ac Mon Sep 17 00:00:00 2001 From: Zac Hatfield-Dodds Date: Fri, 23 Feb 2024 20:51:53 -0800 Subject: [PATCH] Remove .step_count --- hypothesis-python/src/hypothesis/stateful.py | 1 - 1 file changed, 1 deletion(-) diff --git a/hypothesis-python/src/hypothesis/stateful.py b/hypothesis-python/src/hypothesis/stateful.py index 0e9706b285..60cd92721c 100644 --- a/hypothesis-python/src/hypothesis/stateful.py +++ b/hypothesis-python/src/hypothesis/stateful.py @@ -358,7 +358,6 @@ def invariants(cls): return cls._invariants_per_class[cls] def _repr_step(self, rule, data, result): - self.step_count = getattr(self, "step_count", 0) + 1 output_assignment = "" if rule.targets: if isinstance(result, MultipleResults):