summaryrefslogtreecommitdiff
path: root/astroid/tests/unittest_brain.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/tests/unittest_brain.py')
-rw-r--r--astroid/tests/unittest_brain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/tests/unittest_brain.py b/astroid/tests/unittest_brain.py
index 510b4c0..02c405b 100644
--- a/astroid/tests/unittest_brain.py
+++ b/astroid/tests/unittest_brain.py
@@ -435,7 +435,7 @@ class NumpyBrainTest(unittest.TestCase):
numpy.ones #@
''')
inferred = next(node.infer())
- self.assertIsInstance(inferred, nodes.Function)
+ self.assertIsInstance(inferred, nodes.FunctionDef)
if __name__ == '__main__':