diff --git a/tests/async_wrapper.py b/tests/async_wrapper.py index 0dcb539..7723334 100644 --- a/tests/async_wrapper.py +++ b/tests/async_wrapper.py @@ -1,5 +1,6 @@ import asyncio import warnings +import sys @@ -11,6 +12,9 @@ def _await(coro): ret = loop.run_until_complete(coro) loop.close() + for warn in warns: + print(warn.message, file=sys.stderr) + if warns: raise RuntimeError