diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/regrtest_data/regression_missing_init_3564/subdirectory/file.py | 0 | ||||
-rw-r--r-- | tests/test_self.py | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/regrtest_data/regression_missing_init_3564/subdirectory/file.py b/tests/regrtest_data/regression_missing_init_3564/subdirectory/file.py new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/regrtest_data/regression_missing_init_3564/subdirectory/file.py diff --git a/tests/test_self.py b/tests/test_self.py index 34e5d1290..67465b2f2 100644 --- a/tests/test_self.py +++ b/tests/test_self.py @@ -791,3 +791,11 @@ class TestRunTC: [path, "--disable=all", "--enable=duplicate-code"], expected_output=expected_output, ) + + def test_regression_parallel_mode_without_filepath(self): + # Test that parallel mode properly passes filepath + # https://github.com/PyCQA/pylint/issues/3564 + path = join( + HERE, "regrtest_data", "regression_missing_init_3564", "subdirectory/" + ) + self._test_output([path, "-j2"], expected_output="No such file or directory") |