Skip to content

Commit 643c5fc

Browse files
Revert "Try clearing cache"
This reverts commit 341ed71.
1 parent 6d9ffca commit 643c5fc

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

tests/lint/unittest_lint.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,11 +1049,7 @@ def test_by_module_statement_value(initialized_linter: PyLinter) -> None:
10491049

10501050
def test_finds_pyi_file() -> None:
10511051
run = Run(
1052-
[
1053-
"--prefer-stubs=y",
1054-
"--clear-cache-post-run=y",
1055-
join(REGRTEST_DATA_DIR, "pyi"),
1056-
],
1052+
["--prefer-stubs=y", join(REGRTEST_DATA_DIR, "pyi")],
10571053
exit=False,
10581054
)
10591055
assert run.linter.current_file is not None
@@ -1063,9 +1059,10 @@ def test_finds_pyi_file() -> None:
10631059
def test_recursive_finds_pyi_file() -> None:
10641060
run = Run(
10651061
[
1066-
"--recursive=y",
1067-
"--prefer-stubs=y",
1068-
"--clear-cache-post-run=y",
1062+
"--recursive",
1063+
"y",
1064+
"--prefer-stubs",
1065+
"y",
10691066
join(REGRTEST_DATA_DIR, "pyi"),
10701067
],
10711068
exit=False,

0 commit comments

Comments
 (0)