diff options
author | Yury Selivanov <yury@magic.io> | 2016-11-04 18:29:28 (GMT) |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2016-11-04 18:29:28 (GMT) |
commit | 600a349781bfa0a8239e1cb95fac29c7c4a3302e (patch) | |
tree | 79f35114de7101a97fe85f80cd02cbd866d4abd9 /Lib/test/test_asyncio/test_sslproto.py | |
parent | 1ea023e523f484955fb81b59a72c586845d8d97f (diff) | |
download | cpython-600a349781bfa0a8239e1cb95fac29c7c4a3302e.zip cpython-600a349781bfa0a8239e1cb95fac29c7c4a3302e.tar.gz cpython-600a349781bfa0a8239e1cb95fac29c7c4a3302e.tar.bz2 |
Issue #28613: Fix get_event_loop() to return the current loop
when called from coroutines or callbacks.
Diffstat (limited to 'Lib/test/test_asyncio/test_sslproto.py')
-rw-r--r-- | Lib/test/test_asyncio/test_sslproto.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_sslproto.py b/Lib/test/test_asyncio/test_sslproto.py index 7dfa6c2..0ca6d1b 100644 --- a/Lib/test/test_asyncio/test_sslproto.py +++ b/Lib/test/test_asyncio/test_sslproto.py @@ -18,6 +18,7 @@ from asyncio import test_utils class SslProtoHandshakeTests(test_utils.TestCase): def setUp(self): + super().setUp() self.loop = asyncio.new_event_loop() self.set_event_loop(self.loop) |