From 55be242ab80495f71cc6ff9eb6e88c9faf9370b0 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Wed, 5 Jan 2022 11:31:09 +0300 Subject: [PATCH] Update pythoneval-asyncio.test --- test-data/unit/pythoneval-asyncio.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-data/unit/pythoneval-asyncio.test b/test-data/unit/pythoneval-asyncio.test index ffa40a8da68f..b3400fe6010e 100644 --- a/test-data/unit/pythoneval-asyncio.test +++ b/test-data/unit/pythoneval-asyncio.test @@ -346,7 +346,7 @@ from typing import Generator, Any import asyncio from asyncio import Future -asyncio.coroutine +@asyncio.coroutine def slow_operation(future: 'Future[int]') -> 'Generator[Any, None, None]': yield from asyncio.sleep(1) future.set_result('42') #Try to set an str as result to a Future[int]