Skip to content

Commit 27e469b

Browse files
sobolevntushar-deepsource
authored andcommitted
Update pythoneval-asyncio.test (python#11908)
1 parent 7563b86 commit 27e469b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/pythoneval-asyncio.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ from typing import Generator, Any
346346
import asyncio
347347
from asyncio import Future
348348

349-
asyncio.coroutine
349+
@asyncio.coroutine
350350
def slow_operation(future: 'Future[int]') -> 'Generator[Any, None, None]':
351351
yield from asyncio.sleep(1)
352352
future.set_result('42') #Try to set an str as result to a Future[int]

0 commit comments

Comments
 (0)