summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-19 08:54:52 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-19 23:09:13 +0200
commitbc6f2488b1df66ba7d46d9a6b47f14d33d009975 (patch)
treef262d50b7d0083e81e23b0125aae03c4a3a4c748
parent8c88b6e8babe9bed9140bc396b4721ffe668153c (diff)
downloadastroid-git-bc6f2488b1df66ba7d46d9a6b47f14d33d009975.tar.gz
Fix useless suppression of no-member
-rw-r--r--tests/unittest_scoped_nodes.py6
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")