Skip to content

Commit f72a634

Browse files
committed
remove unused stuff in tests
1 parent a47bc04 commit f72a634

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test-data/unit/check-typeddict.test

+1-2
Original file line numberDiff line numberDiff line change
@@ -2090,7 +2090,7 @@ def f(arg: TD) -> None:
20902090
[case testOperatorContainsNarrowsTypedDicts_final]
20912091
# flags: --warn-unreachable
20922092
from __future__ import annotations
2093-
from typing import assert_type, Literal, TypedDict, TypeVar, Union
2093+
from typing import assert_type, TypedDict, Union
20942094
from typing_extensions import final
20952095

20962096
@final
@@ -2140,7 +2140,6 @@ class DNotTotal(TypedDict, total=False):
21402140

21412141

21422142
d: DTotal | DNotTotal
2143-
val: int
21442143

21452144
if 'required_key' in d:
21462145
assert_type(d, DTotal)

0 commit comments

Comments
 (0)