summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-12-17 01:41:25 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-12-17 01:41:25 (GMT)
commitc4e27e277c6674c0a8a9301f0dbf7e9daf55fcfd (patch)
tree6f0eeb7db14b3808fef36d53f0be0859412a2ced /Lib
parent152c408ed66ee0b15b7a5a9399e67f2d182b1585 (diff)
parentea4ce1c7766e7bc5428c994af0419cdb77e02fe7 (diff)
downloadcpython-c4e27e277c6674c0a8a9301f0dbf7e9daf55fcfd.zip
cpython-c4e27e277c6674c0a8a9301f0dbf7e9daf55fcfd.tar.gz
cpython-c4e27e277c6674c0a8a9301f0dbf7e9daf55fcfd.tar.bz2
Merge 3.4
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_asyncio/test_tasks.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py
index 47b17d1..5ee20f6 100644
--- a/Lib/test/test_asyncio/test_tasks.py
+++ b/Lib/test/test_asyncio/test_tasks.py
@@ -2212,6 +2212,10 @@ class SleepTests(test_utils.TestCase):
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