Skip to content

Commit

Permalink
Update pythoneval-asyncio.test (#11908)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jan 5, 2022
1 parent 27d2c22 commit edbc248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-data/unit/pythoneval-asyncio.test
Expand Up @@ -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]
Expand Down

0 comments on commit edbc248

Please sign in to comment.