Skip to content

Commit e5ac593

Browse files
committed
Update other affected tests
1 parent c6169b6 commit e5ac593

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test-data/unit/check-dataclass-transform.test

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,11 @@ from typing import dataclass_transform, Type
821821
class Meta(type): ...
822822
class Base(metaclass=Meta):
823823
base: int
824-
class Foo(Base, frozen=True):
824+
class Foo(Base, frozen=True): # E: Signature of "__hash__" incompatible with supertype "Base" \
825+
# N: Superclass: \
826+
# N: None \
827+
# N: Subclass: \
828+
# N: def __hash__() -> int
825829
foo: int
826830
class Bar(Base, frozen=False):
827831
bar: int

0 commit comments

Comments
 (0)