Skip to content

Commit

Permalink
Fixing error message to match new typeshed stub (#6469)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkmndz authored and JelleZijlstra committed Feb 23, 2019
1 parent ed0dcad commit 759ff9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-data/unit/pythoneval.test
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ _testTypedDictGet.py:9: error: TypedDict "D" has no key 'z'
_testTypedDictGet.py:10: error: All overload variants of "get" of "Mapping" require at least one argument
_testTypedDictGet.py:10: note: Possible overload variants:
_testTypedDictGet.py:10: note: def get(self, k: str) -> object
_testTypedDictGet.py:10: note: def [_T] get(self, k: str, default: object) -> object
_testTypedDictGet.py:10: note: def [_T] get(self, k: str, default: _T) -> object
_testTypedDictGet.py:12: error: Revealed type is 'builtins.object*'

[case testTypedDictMappingMethods]
Expand Down

0 comments on commit 759ff9f

Please sign in to comment.