aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/asyncio/base_events.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/asyncio/base_events.py')
-rw-r--r--Lib/asyncio/base_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
index 0c7316ea97b..b1a5422be30 100644
--- a/Lib/asyncio/base_events.py
+++ b/Lib/asyncio/base_events.py
@@ -420,7 +420,7 @@ class BaseEventLoop(events.AbstractEventLoop):
"""
try:
current = events.get_event_loop()
- except AssertionError:
+ except RuntimeError:
return
if current is not self:
raise RuntimeError(