From b67151b80f6611e805cfbfb9444d69a0b1634b03 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 28 Jun 2020 12:27:35 -0700 Subject: [PATCH] pythoneval.test: update for typeshed change (#9037) Change this so we can land https://github.com/python/typeshed/pull/4258 --- test-data/unit/pythoneval.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-data/unit/pythoneval.test b/test-data/unit/pythoneval.test index a37cf2959d02..e3eaf8a00ff3 100644 --- a/test-data/unit/pythoneval.test +++ b/test-data/unit/pythoneval.test @@ -1083,8 +1083,8 @@ _testTypedDictGet.py:8: note: Revealed type is 'builtins.str' _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 get(self, key: str) -> object +_testTypedDictGet.py:10: note: def [_T] get(self, key: str, default: object) -> object _testTypedDictGet.py:12: note: Revealed type is 'builtins.object*' [case testTypedDictMappingMethods]