Skip to content

Commit

Permalink
Fix compatibility with newer pyparsing/packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars authored Aug 28, 2019
1 parent d252fd0 commit ac97839
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def vcs_req():

def random_marker_variables():
variables = sorted(
[str(v).strip('"') for v in list(VARIABLE) if str(v).strip('"') != "extra"]
[str(v).strip('"') for v in VARIABLE.exprs if str(v).strip('"') != "extra"]
)
return st.sampled_from(variables)

Expand All @@ -257,7 +257,7 @@ def random_marker_values():


def random_marker_ops():
return st.sampled_from([str(m).strip('"') for m in list(MARKER_OP)])
return st.sampled_from([str(m).strip('"') for m in MARKER_OP.exprs])


def marker_tuple_val_lists():
Expand Down

0 comments on commit ac97839

Please sign in to comment.