From 969562df6918b99bc7e30530c2ac7ea7e8705dc1 Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Fri, 16 Aug 2024 15:49:09 +0200 Subject: [PATCH] Tests: fix missing fixtures --- test-data/unit/check-errorcodes.test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test-data/unit/check-errorcodes.test b/test-data/unit/check-errorcodes.test index 17ebb91e4684..f5daceaf7322 100644 --- a/test-data/unit/check-errorcodes.test +++ b/test-data/unit/check-errorcodes.test @@ -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 @@ -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]