Commit 77693c53 authored by Stefan Behnel's avatar Stefan Behnel

improve test error output

parent 60cd8333
...@@ -78,7 +78,7 @@ if ASYNCIO_SUPPORTS_COROUTINE: ...@@ -78,7 +78,7 @@ if ASYNCIO_SUPPORTS_COROUTINE:
loop = asyncio.get_event_loop() loop = asyncio.get_event_loop()
task, events, expected = await_future(loop) task, events, expected = await_future(loop)
result = loop.run_until_complete(task()) result = loop.run_until_complete(task())
assert events == expected, events assert events == expected, 'expected %s, got %s' % (expected, events)
runloop() runloop()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment