summaryrefslogtreecommitdiff
path: root/tests/test_inference.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_inference.py')
-rw-r--r--tests/test_inference.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_inference.py b/tests/test_inference.py
index 7fcbb10c..b81a3e17 100644
--- a/tests/test_inference.py
+++ b/tests/test_inference.py
@@ -1264,7 +1264,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
assert i0.pytype() == "types.UnionType"
assert i0.display_type() == "UnionType"
assert str(i0) == "UnionType(UnionType)"
- assert repr(i0) == f"<UnionType(UnionType) l.None at 0x{id(i0)}>"
+ assert repr(i0) == f"<UnionType(UnionType) l.0 at 0x{id(i0)}>"
i1 = ast_nodes[1].inferred()[0]
assert isinstance(i1, UnionType)