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 6c27fd6cd..11399ab5c 100644 --- a/tests/test_self.py +++ b/tests/test_self.py @@ -783,3 +783,11 @@ class TestRunTC: path = join(HERE, "regrtest_data", "unused_variable.py") expected = "Your code has been rated at 7.50/10" self._test_output([path, "--jobs=2", "-ry"], expected_output=expected) + + 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") |