Skip to content

Commit 759ff9f

Browse files
mrkmndzJelleZijlstra
authored andcommitted
Fixing error message to match new typeshed stub (#6469)
1 parent ed0dcad commit 759ff9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/pythoneval.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ _testTypedDictGet.py:9: error: TypedDict "D" has no key 'z'
10541054
_testTypedDictGet.py:10: error: All overload variants of "get" of "Mapping" require at least one argument
10551055
_testTypedDictGet.py:10: note: Possible overload variants:
10561056
_testTypedDictGet.py:10: note: def get(self, k: str) -> object
1057-
_testTypedDictGet.py:10: note: def [_T] get(self, k: str, default: object) -> object
1057+
_testTypedDictGet.py:10: note: def [_T] get(self, k: str, default: _T) -> object
10581058
_testTypedDictGet.py:12: error: Revealed type is 'builtins.object*'
10591059

10601060
[case testTypedDictMappingMethods]

0 commit comments

Comments
 (0)