diff options
| author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-19 08:54:52 +0200 |
|---|---|---|
| committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-19 23:09:13 +0200 |
| commit | bc6f2488b1df66ba7d46d9a6b47f14d33d009975 (patch) | |
| tree | f262d50b7d0083e81e23b0125aae03c4a3a4c748 | |
| parent | 8c88b6e8babe9bed9140bc396b4721ffe668153c (diff) | |
| download | astroid-git-bc6f2488b1df66ba7d46d9a6b47f14d33d009975.tar.gz | |
Fix useless suppression of no-member
| -rw-r--r-- | tests/unittest_scoped_nodes.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unittest_scoped_nodes.py b/tests/unittest_scoped_nodes.py index 2eb43871..c644080f 100644 --- a/tests/unittest_scoped_nodes.py +++ b/tests/unittest_scoped_nodes.py @@ -267,10 +267,10 @@ class ModuleNodeTest(ModuleLoader, unittest.TestCase): def test_file_stream_api(self): path = resources.find("data/all.py") - astroid = builder.AstroidBuilder().file_build(path, "all") + file_build = builder.AstroidBuilder().file_build(path, "all") with self.assertRaises(AttributeError): - # pylint: disable=pointless-statement,no-member - astroid.file_stream + # pylint: disable=pointless-statement + file_build.file_stream def test_stream_api(self): path = resources.find("data/all.py") |
