Use '==' operator instead of 'is'

This commit is contained in:
Yury Selivanov
2015-08-04 15:35:46 -04:00
parent 51a3206600
commit 27f3499f96

View File

@@ -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