Skip to content

Commit

Permalink
Merge pull request #1573 from minrk/close-multiple-asyncio
Browse files Browse the repository at this point in the history
make sure to close loops explicitly in test_multiple
  • Loading branch information
minrk committed Aug 1, 2021
2 parents 0df430f + e573962 commit 537b169
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zmq/tests/test_asyncio.py
Expand Up @@ -407,6 +407,7 @@ async def test():
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
loop.run_until_complete(asyncio.wait_for(test(), timeout=10))
loop.close()

def test_shadow(self):
async def test():
Expand Down

0 comments on commit 537b169

Please sign in to comment.