diff options
Diffstat (limited to 'asyncio/base_events.py')
-rw-r--r-- | asyncio/base_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asyncio/base_events.py b/asyncio/base_events.py index 0c7316e..b1a5422 100644 --- a/asyncio/base_events.py +++ b/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( |