Skip to content

Commit 570b9f6

Browse files
committed
update another test
1 parent be8fdc4 commit 570b9f6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test-data/unit/fine-grained.test

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2954,7 +2954,8 @@ class B(metaclass=c.M): pass
29542954
class M(type): pass
29552955
[out]
29562956
==
2957-
a.py:3: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - a.M2 (meta of a.D) conflicting with c.M (metaclass of b.B)
2957+
a.py:3: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
2958+
a.py:3: note: a.M2 (meta of a.D) conflicts with c.M (metaclass of b.B)
29582959

29592960
[case testFineMetaclassDeclaredUpdate]
29602961
import a
@@ -2973,7 +2974,8 @@ class M(type): pass
29732974
class M2(type): pass
29742975
[out]
29752976
==
2976-
a.py:3: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases - b.M2 (meta of a.D) conflicting with b.M (metaclass of a.B)
2977+
a.py:3: error: Metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
2978+
a.py:3: note: b.M2 (meta of a.D) conflicts with b.M (metaclass of a.B)
29772979

29782980
[case testFineMetaclassRemoveFromClass]
29792981
import a

0 commit comments

Comments
 (0)