Skip to content

Commit

Permalink
aio-libs#2409: Get rid of couple warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Nov 3, 2017
1 parent ae28474 commit 9b85749
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_client_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,8 @@ def test_terminate_with_closed_loop(loop, conn):
assert req._writer is not None
writer = req._writer = mock.Mock()

loop.run_until_complete(asyncio.sleep(0.05, loop=loop))

loop.close()
req.terminate()
assert req._writer is None
Expand Down

0 comments on commit 9b85749

Please sign in to comment.