Skip to content

Commit 8c22da5

Browse files
committed
🐛 fix(types): use keyword arg for pytest.skip
ty on 3.8 reports too-many-positional-arguments for pytest.skip().
1 parent 91dc096 commit 8c22da5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ def _ensure_py_info_cache_empty(session_cache: DiskCache) -> Generator[None]:
2626
def _skip_if_test_in_system(session_cache: DiskCache) -> None:
2727
current = PythonInfo.current(session_cache)
2828
if current.system_executable is not None: # pragma: no cover
29-
pytest.skip("test not valid if run under system")
29+
pytest.skip(reason="test not valid if run under system")

0 commit comments

Comments
 (0)