summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asyncio/base_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/asyncio/base_events.py b/asyncio/base_events.py
index 8e4ad4f..c205445 100644
--- a/asyncio/base_events.py
+++ b/asyncio/base_events.py
@@ -1206,7 +1206,7 @@ class BaseEventLoop(events.AbstractEventLoop):
return
enabled = bool(enabled)
- if self._coroutine_wrapper_set is enabled:
+ if self._coroutine_wrapper_set == enabled:
return
wrapper = coroutines.debug_wrapper