summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2023-05-14 12:48:27 -0400
committerGitHub <noreply@github.com>2023-05-14 18:48:27 +0200
commitb186f683da0896d2fbed0f2aae3497b29ca93266 (patch)
tree5ff79d117656067a58a5ec1d0b2c82f502b47790 /tests
parent5fa9089f1af6da65640e5ff81ae79207d039b4bd (diff)
downloadastroid-git-b186f683da0896d2fbed0f2aae3497b29ca93266.tar.gz
Handle ``objects.Super`` in `helpers.object_type()` (#2177)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_helpers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_helpers.py b/tests/test_helpers.py
index 5fdadc23..aaf45c74 100644
--- a/tests/test_helpers.py
+++ b/tests/test_helpers.py
@@ -42,6 +42,7 @@ class TestHelpers(unittest.TestCase):
("type", self._extract("type")),
("object", self._extract("type")),
("object()", self._extract("object")),
+ ("super()", self._extract("super")),
("lambda: None", self._build_custom_builtin("function")),
("len", self._build_custom_builtin("builtin_function_or_method")),
("None", self._build_custom_builtin("NoneType")),