diff --git a/src/watchdog/utils/__init__.py b/src/watchdog/utils/__init__.py index 40b2926cc..21a64ab85 100644 --- a/src/watchdog/utils/__init__.py +++ b/src/watchdog/utils/__init__.py @@ -55,9 +55,6 @@ def __init__(self): self.setDaemon(True) self._stopped_event = threading.Event() - if not hasattr(self._stopped_event, "is_set"): - self._stopped_event.is_set = self._stopped_event.isSet - @property def stopped_event(self): return self._stopped_event