Skip to content

Commit

Permalink
fixing test based on PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bandophahita committed Feb 13, 2024
1 parent eaee470 commit b5c3c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ def new_method(self) -> bool:

def test_positional_arg_warns(self) -> None:
with pytest.warns(DeprecationWarning):
Release(None, True)
Release(Keys.LEFT_ALT, True)

def test_keyword_arg_does_not_warn(self) -> None:
with not_raises(DeprecationWarning), warnings.catch_warnings():
Expand Down

0 comments on commit b5c3c87

Please sign in to comment.