Skip to content

Commit

Permalink
clarify code (very minor)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlackner committed Sep 12, 2022
1 parent 07854e1 commit 62b78f1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,7 @@ def test_property_functions_with_handcrafted_instances(
if property_name == "jr":
return # no `algorithm` parameter
with pytest.raises(NotImplementedError):
properties.check(
property_name, profile, committee, algorithm=algorithm
) == expected_result
properties.check(property_name, profile, committee, algorithm=algorithm)
else:
if algorithm == "brute-force" and property_name in ["priceability", "stable-priceability"]:
return # not supported
Expand Down

0 comments on commit 62b78f1

Please sign in to comment.