From 759ff9f9106f0cccc116d945cce148600a90d527 Mon Sep 17 00:00:00 2001 From: Mark Mendoza Date: Fri, 22 Feb 2019 21:20:15 -0800 Subject: [PATCH] Fixing error message to match new typeshed stub (#6469) --- test-data/unit/pythoneval.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-data/unit/pythoneval.test b/test-data/unit/pythoneval.test index 3c7df911ab4e..e05e38f8537a 100644 --- a/test-data/unit/pythoneval.test +++ b/test-data/unit/pythoneval.test @@ -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]