Add tmpdir to known fixtures in pylint (#89844)

This commit is contained in:
epenet
2023-03-17 10:22:02 +01:00
committed by GitHub
parent dbb2706c76
commit ab4a726e6c
15 changed files with 86 additions and 44 deletions

View File

@@ -142,6 +142,7 @@ _TEST_FIXTURES: dict[str, list[str] | str] = {
"requests_mock": "requests_mock.Mocker",
"snapshot": "SnapshotAssertion",
"tmp_path": "Path",
"tmpdir": "py.path.local",
}
_TEST_FUNCTION_MATCH = TypeHintMatch(
function_name="test_*",