Skip to content

Commit

Permalink
Fix useless suppression of no-member
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Apr 19, 2021
1 parent 22f0793 commit ac55d5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unittest_scoped_nodes.py
Expand Up @@ -267,10 +267,10 @@ def test_file_stream_physical(self):

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")
Expand Down

0 comments on commit ac55d5e

Please sign in to comment.