summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-14 22:53:15 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-01-14 22:53:15 +0100
commit7806835f9c8c47bdf0d503229abd9f929d99d4f8 (patch)
tree4c2d72303a2f1aa57d242078ed809879f3b6bd00
parent31a111cf1f0cc177ba478011baf79250a6f83551 (diff)
downloadtrollius-7806835f9c8c47bdf0d503229abd9f929d99d4f8.tar.gz
TestLoop.close() now calls the close() method of the parent class (BaseEventLoop)
-rw-r--r--asyncio/test_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/asyncio/test_utils.py b/asyncio/test_utils.py
index 180bafa..6eedc58 100644
--- a/asyncio/test_utils.py
+++ b/asyncio/test_utils.py
@@ -307,6 +307,7 @@ class TestLoop(base_events.BaseEventLoop):
self._time += advance
def close(self):
+ super().close()
if self._check_on_close:
try:
self._gen.send(0)