Skip to content

Commit

Permalink
Revert "Fixing error message to match new typeshed stub (#6469)" (#6489)
Browse files Browse the repository at this point in the history
This reverts commit 759ff9f.

Reverts #6469

See python/typeshed#2817 for motivation.
  • Loading branch information
ilevkivskyi authored Feb 27, 2019
1 parent 0c7d4c2 commit 65edb21
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: _T) -> object
_testTypedDictGet.py:10: note: def [_T] get(self, k: str, default: object) -> object
_testTypedDictGet.py:12: error: Revealed type is 'builtins.object*'

[case testTypedDictMappingMethods]
Expand Down

0 comments on commit 65edb21

Please sign in to comment.