Skip to content

Commit

Permalink
Tests: fix missing fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
robsdedude committed Aug 16, 2024
1 parent 0d2fd52 commit 969562d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test-data/unit/check-errorcodes.test
Original file line number Diff line number Diff line change
Expand Up @@ -1195,8 +1195,11 @@ from typing_extensions import TypeIs
def f(x: str) -> TypeIs[int]: # E: Narrowed type "int" is not a subtype of input type "str" [narrowed-type-not-subtype]
pass

[builtins fixtures/tuple.pyi]

[case testDynamicMetaclass]
class A(metaclass=type(tuple)): pass # E: Dynamic metaclass not supported for "A" [metaclass]
[builtins fixtures/tuple.pyi]

[case testMetaclassOfTypeAny]
# mypy: disallow-subclassing-any=True
Expand Down Expand Up @@ -1224,5 +1227,3 @@ class A2(six.with_metaclass(M1), metaclass=M1): pass # E: Multiple metaclass de

@six.add_metaclass(M1)
class A3(six.with_metaclass(M1)): pass # E: Multiple metaclass definitions [metaclass]

[builtins fixtures/tuple.pyi]

0 comments on commit 969562d

Please sign in to comment.