summaryrefslogtreecommitdiff
path: root/astroid/tests/unittest_scoped_nodes.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-08-25 19:34:58 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2015-08-25 19:34:58 +0300
commitace151e38e3f11077af96ae4a606f17b24e353ce (patch)
treee0ce6c2964310a3dbf01e8e55b5a1a994c2bf5d6 /astroid/tests/unittest_scoped_nodes.py
parent90dac37948ba0e1b34b17a8281e702c9d89c48e9 (diff)
downloadastroid-ace151e38e3f11077af96ae4a606f17b24e353ce.tar.gz
Emit a warning when an old AST name is used in an isinstance call.
Diffstat (limited to 'astroid/tests/unittest_scoped_nodes.py')
-rw-r--r--astroid/tests/unittest_scoped_nodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/tests/unittest_scoped_nodes.py b/astroid/tests/unittest_scoped_nodes.py
index 19aea1e..d57cb1e 100644
--- a/astroid/tests/unittest_scoped_nodes.py
+++ b/astroid/tests/unittest_scoped_nodes.py
@@ -1406,7 +1406,7 @@ class ClassNodeTest(ModuleLoader, unittest.TestCase):
self.assertEqual(property_class.value, 42)
static = next(acls.igetattr('static'))
- self.assertIsInstance(static, scoped_nodes.Function)
+ self.assertIsInstance(static, scoped_nodes.FunctionDef)
@test_utils.require_version(maxver='3.0')
def test_implicit_metaclass_is_none(self):