Skip to content

Commit b67151b

Browse files
authored
pythoneval.test: update for typeshed change (#9037)
Change this so we can land python/typeshed#4258
1 parent 650596a commit b67151b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-data/unit/pythoneval.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,8 +1083,8 @@ _testTypedDictGet.py:8: note: Revealed type is 'builtins.str'
10831083
_testTypedDictGet.py:9: error: TypedDict "D" has no key 'z'
10841084
_testTypedDictGet.py:10: error: All overload variants of "get" of "Mapping" require at least one argument
10851085
_testTypedDictGet.py:10: note: Possible overload variants:
1086-
_testTypedDictGet.py:10: note: def get(self, k: str) -> object
1087-
_testTypedDictGet.py:10: note: def [_T] get(self, k: str, default: object) -> object
1086+
_testTypedDictGet.py:10: note: def get(self, key: str) -> object
1087+
_testTypedDictGet.py:10: note: def [_T] get(self, key: str, default: object) -> object
10881088
_testTypedDictGet.py:12: note: Revealed type is 'builtins.object*'
10891089

10901090
[case testTypedDictMappingMethods]

0 commit comments

Comments
 (0)