diff --git a/tests/test_actions.py b/tests/test_actions.py index 5998d05..7e4cf30 100644 --- a/tests/test_actions.py +++ b/tests/test_actions.py @@ -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():