mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-22 11:45:28 -05:00
Fix by comparing to str(results)) (#1233)
This commit is contained in:
@@ -43,7 +43,7 @@ class TestAsync(PyScriptTest):
|
|||||||
|
|
||||||
async def get_results():
|
async def get_results():
|
||||||
results = await asyncio.gather(*[coro(d) for d in range(3,0,-1)])
|
results = await asyncio.gather(*[coro(d) for d in range(3,0,-1)])
|
||||||
js.console.log(to_js(results))
|
js.console.log(str(results)) #Compare to string representation, not Proxy
|
||||||
js.console.log("DONE")
|
js.console.log("DONE")
|
||||||
|
|
||||||
asyncio.ensure_future(get_results())
|
asyncio.ensure_future(get_results())
|
||||||
|
|||||||
Reference in New Issue
Block a user