diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_regrtest.py | 2 | ||||
-rw-r--r-- | tests/test_scoped_nodes.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_regrtest.py b/tests/test_regrtest.py index b135081a..88c4aab9 100644 --- a/tests/test_regrtest.py +++ b/tests/test_regrtest.py @@ -126,7 +126,7 @@ def run(): classes = astroid.nodes_of_class(nodes.ClassDef) for klass in classes: # triggers the _is_metaclass call - klass.type # pylint: disable=pointless-statement + klass.type # pylint: disable=pointless-statement # noqa[B018] def test_decorator_callchain_issue42(self) -> None: builder = AstroidBuilder() diff --git a/tests/test_scoped_nodes.py b/tests/test_scoped_nodes.py index 705f5d2d..1a6b8d15 100644 --- a/tests/test_scoped_nodes.py +++ b/tests/test_scoped_nodes.py @@ -263,7 +263,7 @@ class ModuleNodeTest(ModuleLoader, unittest.TestCase): file_build = builder.AstroidBuilder().file_build(path, "all") with self.assertRaises(AttributeError): # pylint: disable=pointless-statement, no-member - file_build.file_stream + file_build.file_stream # noqa[B018] def test_stream_api(self) -> None: path = resources.find("data/all.py") |