Skip to content

Commit

Permalink
Add skip when comparing model names to dadi <=2.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tjstruck committed Aug 14, 2024
1 parent d26b853 commit bf7cb81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_Models.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def test_get_built_in_model(model_list):
assert str(e_info.value) == "Cannot find model: haha."


@pytest.mark.skipif(version('dadi') <= '2.3.6', reason="Older version of dadi has extra redundant model names that have been removed.")
def test_print_built_in_models(capfd, model_list):
print_built_in_models()
out, err = capfd.readouterr()
Expand Down

0 comments on commit bf7cb81

Please sign in to comment.