Skip to content

Commit 3dcecdf

Browse files
committed
test: Add builtins fixtures/tuple.pyi
1 parent d8901de commit 3dcecdf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test-data/unit/check-classes.test

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3868,6 +3868,9 @@ def f(a: Type[Tuple[int, int]]):
38683868

38693869
[case testTypeUsingTypeCNoneType]
38703870
from typing_extensions import assert_type
3871+
3872+
[builtins fixtures/tuple.pyi]
3873+
38713874
NoneType = type(None)
38723875
assert_type(type(None)(), None)
38733876
assert_type(NoneType(), None)
@@ -3876,7 +3879,7 @@ def f(n: type[None]):
38763879
assert_type(n(), None)
38773880
def g(n: type[NoneType]): # type: ignore[valid-type]
38783881
assert_type(n(), None)
3879-
3882+
38803883
f(NoneType)
38813884
g(NoneType)
38823885
[out]

0 commit comments

Comments
 (0)