8000 Replace `pytest.skip(msg=` with `pytest.skip(reason=` · python-formate/flake8-encodings@016450c · GitHub
[go: up one dir, main page]

Skip to content

Commit 016450c

Browse files
committed
Replace pytest.skip(msg= with pytest.skip(reason=
1 parent 91a41ad commit 016450c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_visitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def test_visitor_with_jedi_visit_method(
5050

5151
def test_classvisitor_importerror():
5252
if has_jedi:
53-
pytest.skip(msg="Requires that jedi isn't installed")
53+
pytest.skip(reason="Requires that jedi isn't installed")
5454

5555
with pytest.raises(
5656
ImportError, match="This class requires 'jedi' to be installed but it could not be imported."

0 commit comments

Comments
 (0)
0