summaryrefslogtreecommitdiff
path: root/tests/profile
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-04-22 22:56:12 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2022-04-26 09:08:23 +0200
commit8482d2ee74cdf96daffa1f32b8d04868d8c6c8e6 (patch)
treea92278d431f2265f37c87872a8535ebea876aa9b /tests/profile
parentc17204d5298ca7a358be78f9b5f880db5f027d59 (diff)
downloadpylint-git-8482d2ee74cdf96daffa1f32b8d04868d8c6c8e6.tar.gz
Use an empty pylintrc for tests using project's pylintrc implicitely
We don't want to use the project's pylintrc during tests, because it means that a change in our config could break tests. But we want to see if the changes to the default break tests. Create a private '_Run' class in pylint.testutil._run Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'tests/profile')
-rw-r--r--tests/profile/test_profile_against_externals.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/profile/test_profile_against_externals.py b/tests/profile/test_profile_against_externals.py
index 81819476e..33b25efbc 100644
--- a/tests/profile/test_profile_against_externals.py
+++ b/tests/profile/test_profile_against_externals.py
@@ -11,8 +11,8 @@ import pprint
import pytest
-from pylint.lint import Run
from pylint.testutils import GenericTestReporter as Reporter
+from pylint.testutils._run import _Run as Run
def _get_py_files(scanpath):