Skip to content

Commit edbc248

Browse files
authored
Update pythoneval-asyncio.test (python#11908)
1 parent 27d2c22 commit edbc248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/pythoneval-asyncio.test

+1-1
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)