summaryrefslogtreecommitdiff
path: root/tests/unittest_manager.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-18 21:46:33 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-19 20:32:26 +0200
commitbf82e4633e744508e92f85f4a23fdc164dea8959 (patch)
tree5e8b46bd375b3a3f1b27bd4a9c99cbc0152afeba /tests/unittest_manager.py
parentd2ca7235ec2cc544f39610ccfa0864714ca6419e (diff)
downloadastroid-git-bf82e4633e744508e92f85f4a23fdc164dea8959.tar.gz
Fix legacy no-member by disabling the warning
Diffstat (limited to 'tests/unittest_manager.py')
-rw-r--r--tests/unittest_manager.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unittest_manager.py b/tests/unittest_manager.py
index ed6c3015..73b9379a 100644
--- a/tests/unittest_manager.py
+++ b/tests/unittest_manager.py
@@ -228,7 +228,9 @@ class AstroidManagerTest(
"""check if the unittest filepath is equals to the result of the method"""
self.assertEqual(
_get_file_from_object(unittest),
- self.manager.file_from_module_name("unittest", None).location,
+ self.manager.file_from_module_name( # pylint: disable=no-member
+ "unittest", None
+ ).location,
)
def test_file_from_module_name_astro_building_exception(self):