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 9acdcee commit 7ef94d3Copy full SHA for 7ef94d3
hypothesis-python/src/hypothesis/internal/conjecture/utils.py
@@ -72,7 +72,7 @@ def check_sample(
72
)
73
elif not isinstance(values, (OrderedDict, abc.Sequence, enum.EnumMeta)):
74
raise InvalidArgument(
75
- f"Cannot sample from {values!r}, not an ordered collection. "
+ f"Cannot sample from {values!r} because it is not an ordered collection. "
76
f"Hypothesis goes to some length to ensure that the {strategy_name} "
77
"strategy has stable results between runs. To replay a saved "
78
"example, the sampled values must have the same iteration order "
0 commit comments