From e33fa6df5433191ae95989f820f5c6e373691f38 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Mon, 28 Oct 2024 14:28:02 +0100 Subject: [PATCH] Import executor from full path --- tests/test_cache_executor_mpi.py | 2 +- tests/test_cache_executor_serial.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cache_executor_mpi.py b/tests/test_cache_executor_mpi.py index bc5e1226..0b8a657b 100644 --- a/tests/test_cache_executor_mpi.py +++ b/tests/test_cache_executor_mpi.py @@ -7,7 +7,7 @@ try: - from executorlib import FileExecutor + from executorlib.cache.executor import FileExecutor skip_h5py_test = False except ImportError: diff --git a/tests/test_cache_executor_serial.py b/tests/test_cache_executor_serial.py index 96aa2df0..f0cffe9d 100644 --- a/tests/test_cache_executor_serial.py +++ b/tests/test_cache_executor_serial.py @@ -11,7 +11,7 @@ from executorlib.standalone.thread import RaisingThread try: - from executorlib import FileExecutor + from executorlib.cache.executor import FileExecutor from executorlib.cache.shared import execute_tasks_h5 skip_h5py_test = False