summaryrefslogtreecommitdiff
path: root/tests/unittest_regrtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittest_regrtest.py')
-rw-r--r--tests/unittest_regrtest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unittest_regrtest.py b/tests/unittest_regrtest.py
index d25dfb74..5d00ecf0 100644
--- a/tests/unittest_regrtest.py
+++ b/tests/unittest_regrtest.py
@@ -22,7 +22,6 @@ import textwrap
import unittest
from astroid import MANAGER, Instance, nodes, test_utils
-from astroid.bases import BUILTINS
from astroid.builder import AstroidBuilder, extract_node
from astroid.exceptions import InferenceError
from astroid.raw_building import build_module
@@ -201,7 +200,7 @@ def test():
)
ancestors = list(node.ancestors())
self.assertEqual(len(ancestors), 1)
- self.assertEqual(ancestors[0].qname(), f"{BUILTINS}.object")
+ self.assertEqual(ancestors[0].qname(), "builtins.object")
def test_ancestors_missing_from_function(self):
# Test for https://www.logilab.org/ticket/122793