summaryrefslogtreecommitdiff
path: root/tests/test_pylint_runners.py
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2022-09-09 11:05:00 +0200
committerGitHub <noreply@github.com>2022-09-09 11:05:00 +0200
commitc0272571bcdba466f237e0aeadff289e53f8bedd (patch)
tree7e2ee7394b4b29dbcb1f45da88d02958bea43c32 /tests/test_pylint_runners.py
parentf29bdd4e04c8c144b378220434646b37a8e7d9a0 (diff)
downloadpylint-git-c0272571bcdba466f237e0aeadff289e53f8bedd.tar.gz
Add typing to several test files (#7440)
Diffstat (limited to 'tests/test_pylint_runners.py')
-rw-r--r--tests/test_pylint_runners.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_pylint_runners.py b/tests/test_pylint_runners.py
index 0e048d0c2..27d083e9d 100644
--- a/tests/test_pylint_runners.py
+++ b/tests/test_pylint_runners.py
@@ -74,7 +74,7 @@ def test_pylint_run_jobs_equal_zero_dont_crash_with_cpu_fraction(
pathlib_path = pathlib.Path
- def _mock_path(*args: str, **kwargs) -> pathlib.Path:
+ def _mock_path(*args: str, **kwargs: Any) -> pathlib.Path:
if args[0] == "/sys/fs/cgroup/cpu/cpu.shares":
return MagicMock(is_file=lambda: True)
return pathlib_path(*args, **kwargs)