Skip to content

Commit

Permalink
Fix deprecation warning (pypa#2575)
Browse files Browse the repository at this point in the history
  • Loading branch information
jugmac00 authored May 19, 2023
1 parent cbb5411 commit 16a6af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/activation/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def _tester(tester_class):
pytest.skip(f"{tester.of_class.__name__} not supported")
version = tester.get_version(raise_on_fail=is_inside_ci)
if not isinstance(version, str):
pytest.skip(msg=str(version))
pytest.skip(reason=str(version))
return tester(monkeypatch, tmp_path)

return _tester

0 comments on commit 16a6af7

Please sign in to comment.