diff --git a/test/unittests/test_event_scheduler.py b/test/unittests/test_event_scheduler.py index 5f2dcd7..dc00e74 100644 --- a/test/unittests/test_event_scheduler.py +++ b/test/unittests/test_event_scheduler.py @@ -4,7 +4,10 @@ import unittest import time -from pyee import ExecutorEventEmitter +try: + from pyee import ExecutorEventEmitter +except (ImportError, ModuleNotFoundError): + from pyee.executor import ExecutorEventEmitter from unittest.mock import MagicMock, patch from ovos_utils.messagebus import FakeBus