From 0a6381194b4157dffa6f4d49ed87808276b9bd44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?= <13665637+DanielNoord@users.noreply.github.com> Date: Thu, 14 Apr 2022 15:54:52 +0200 Subject: Replace .namespace with .config (#6316) --- tests/test_import_graph.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_import_graph.py') diff --git a/tests/test_import_graph.py b/tests/test_import_graph.py index 269370d54..5efd11e85 100644 --- a/tests/test_import_graph.py +++ b/tests/test_import_graph.py @@ -88,9 +88,9 @@ def test_checker_dep_graphs(linter: PyLinter) -> None: linter.set_option("persistent", False) linter.set_option("reports", True) linter.set_option("enable", "imports") - linter.namespace.import_graph = "import.dot" - linter.namespace.ext_import_graph = "ext_import.dot" - linter.namespace.int_import_graph = "int_import.dot" + linter.config.import_graph = "import.dot" + linter.config.ext_import_graph = "ext_import.dot" + linter.config.int_import_graph = "int_import.dot" # ignore this file causing spurious MemoryError w/ some python version (>=2.3?) linter.set_option("ignore", ("func_unknown_encoding.py",)) linter.check(["input"]) -- cgit v1.2.1