Skip to content

Commit cd288d4

Browse files
JelleZijlstrasinon
andauthored
Update conformance/tests/typeddicts_extra_items.py
Co-authored-by: Rob Hand <[email protected]>
1 parent 61a95d8 commit cd288d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conformance/tests/typeddicts_extra_items.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class MovieEI(TypedDict, extra_items=int):
122122
name: str
123123

124124
def del_items(movie: MovieEI) -> None:
125-
del movie["name"] # E: The value type of 'name' is 'Required[int]'
125+
del movie["name"] # E: The value type of 'name' is 'Required[str]'
126126
del movie["year"] # OK: The value type of 'year' is 'NotRequired[int]'
127127

128128
# > For type checking purposes, ``Unpack[SomeTypedDict]`` with extra items should be

0 commit comments

Comments
 (0)