We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20ea7f9 commit 4b88c55Copy full SHA for 4b88c55
hypothesis-python/src/hypothesis/internal/conjecture/pareto.py
@@ -133,10 +133,11 @@ def add(self, data):
133
"""Attempts to add ``data`` to the pareto front. Returns True if
134
``data`` is now in the front, including if data is already in the
135
collection, and False otherwise"""
136
- data = data.as_result()
137
if data.status < Status.VALID:
138
return False
139
+ data = data.as_result()
140
+
141
if not self.front:
142
self.front.add(data)
143
return True
0 commit comments