diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2023-04-22 21:03:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-22 21:03:04 +0200 |
commit | d4529f5617e1b952c3fc167dd714efb090d72081 (patch) | |
tree | b09df00cd83e5186d8f607017f02274e27f0950c /tests/test_inference.py | |
parent | 8805036d679f41ee54efd08294849dbe12db487d (diff) | |
download | astroid-git-d4529f5617e1b952c3fc167dd714efb090d72081.tar.gz |
Fix constructors of ``ClassDef`` (#2130)
Diffstat (limited to 'tests/test_inference.py')
-rw-r--r-- | tests/test_inference.py | 2 |
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) |