Skip to content

Commit

Permalink
Complete strategies
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Apr 18, 2022
1 parent f0cae88 commit b0d0ede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/strategies/literals/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def round_trippable_built_in(object_: Any) -> bool:
| (strategies.sampled_from(built_in_callables
+ built_in_classes_fields)
.filter(round_trippable_built_in)))
enum_types = to_enum_types(values=objects,
enum_types = to_enum_types(values=hashables,
min_size=1)
enums = enum_types.map(list).flatmap(strategies.sampled_from)
objects |= enums
Expand Down

0 comments on commit b0d0ede

Please sign in to comment.