| 1 | diff -rupN a/tests/helpers.py b/tests/helpers.py
|
| 2 | |
| 3 | |
| 4 | @@ -15,7 +15,7 @@ def AsyncMock(*args, **kwargs):
|
| 5 |
|
| 6 | def _run(coro):
|
| 7 | """Run the given coroutine."""
|
| 8 | - return asyncio.get_event_loop().run_until_complete(coro)
|
| 9 | + return asyncio.new_event_loop().run_until_complete(coro)
|
| 10 |
|
| 11 |
|
| 12 | def make_sync(coro):
|