asyncio: Sync with mainstream
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
index 5a536a2..f6cc88f 100644
--- a/Lib/asyncio/base_events.py
+++ b/Lib/asyncio/base_events.py
@@ -1205,7 +1205,7 @@
             return
 
         enabled = bool(enabled)
-        if self._coroutine_wrapper_set is enabled:
+        if self._coroutine_wrapper_set == enabled:
             return
 
         wrapper = coroutines.debug_wrapper