Skip to content
This repository has been archived by the owner on Nov 23, 2017. It is now read-only.

Commit

Permalink
tests: Fix another ResourceWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
1st1 committed Dec 17, 2015
1 parent f25127c commit cd4fdbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_tasks.py
Expand Up @@ -2212,6 +2212,10 @@ def setUp(self):
self.loop = asyncio.new_event_loop()
asyncio.set_event_loop(None)

def tearDown(self):
self.loop.close()
self.loop = None

def test_sleep_zero(self):
result = 0

Expand Down

0 comments on commit cd4fdbb

Please sign in to comment.