OrderedDict should satisfy the replayability requirement, so sampling from it should be possible.
Currently it raises exception:
HypothesisDeprecationWarning: Cannot sample from odict_values
You could throw in a list call to stop Hypothesis complaining.
However, the iteration order of an OrderedDict is stable (obviously), so I think this ought to be allowed, unless there's some nuance I missed here.
Yep, this seems like a straight up bug/oversight. Patch shortly.
Okay, patch is up for review.
@corehack This should be fixed in Hypothesis 3.11.3. Thanks for the report!