diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-09-09 11:05:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-09 11:05:00 +0200 |
commit | c0272571bcdba466f237e0aeadff289e53f8bedd (patch) | |
tree | 7e2ee7394b4b29dbcb1f45da88d02958bea43c32 /tests/test_pylint_runners.py | |
parent | f29bdd4e04c8c144b378220434646b37a8e7d9a0 (diff) | |
download | pylint-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.py | 2 |
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) |