summaryrefslogtreecommitdiff
path: root/tests/test_check_parallel.py
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2022-04-14 15:54:52 +0200
committerGitHub <noreply@github.com>2022-04-14 15:54:52 +0200
commit0a6381194b4157dffa6f4d49ed87808276b9bd44 (patch)
treec769a3f0c00c8a6084fe5ead7a925efc71b45ecb /tests/test_check_parallel.py
parent811b35d0a384423d9efba3594a5ff851789ac7b2 (diff)
downloadpylint-git-0a6381194b4157dffa6f4d49ed87808276b9bd44.tar.gz
Replace .namespace with .config (#6316)
Diffstat (limited to 'tests/test_check_parallel.py')
-rw-r--r--tests/test_check_parallel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_check_parallel.py b/tests/test_check_parallel.py
index 898b02893..d41ed13f4 100644
--- a/tests/test_check_parallel.py
+++ b/tests/test_check_parallel.py
@@ -468,7 +468,7 @@ class TestCheckParallel:
if do_single_proc:
# establish the baseline
assert (
- linter.namespace.jobs == 1
+ linter.config.jobs == 1
), "jobs>1 are ignored when calling _check_files"
linter._check_files(linter.get_ast, file_infos)
assert linter.msg_status == 0, "We should not fail the lint"
@@ -534,7 +534,7 @@ class TestCheckParallel:
if do_single_proc:
# establish the baseline
assert (
- linter.namespace.jobs == 1
+ linter.config.jobs == 1
), "jobs>1 are ignored when calling _check_files"
linter._check_files(linter.get_ast, file_infos)
stats_single_proc = linter.stats