From 7d285b5710cab6b7c6f5875d030938d17a45bd6f Mon Sep 17 00:00:00 2001 From: Brad Solomon Date: Sat, 21 Sep 2019 14:06:18 -0400 Subject: [PATCH] Switch ret. type of asyncio.gather() to list This is a companion commit dependent on the change introduced in typeshed PR 3248: https://github.com/python/typeshed/pull/3248 --- 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 ada2870aff96..c287faca5e81 100644 --- a/test-data/unit/pythoneval.test +++ b/test-data/unit/pythoneval.test @@ -1138,7 +1138,7 @@ reveal_type(asyncio.gather(*[asyncio.sleep(1), asyncio.sleep(1)])) [out] _testAsyncioGatherPreciseType.py:9: note: Revealed type is 'builtins.str' _testAsyncioGatherPreciseType.py:10: note: Revealed type is 'builtins.str' -_testAsyncioGatherPreciseType.py:11: note: Revealed type is 'asyncio.futures.Future[builtins.tuple[Any]]' +_testAsyncioGatherPreciseType.py:11: note: Revealed type is 'asyncio.futures.Future[builtins.list[Any]]' [case testMultipleInheritanceWorksWithTupleTypeGeneric] from typing import SupportsAbs, NamedTuple