diff --git a/tests/shutdown.py b/tests/shutdown.py index b26d2e119..43c6cd66e 100644 --- a/tests/shutdown.py +++ b/tests/shutdown.py @@ -22,7 +22,6 @@ import logging import numpy as np -import scipy import spead2 import spead2._spead2 @@ -64,8 +63,9 @@ def test_running_stream(): def test_running_chunk_stream_group(): try: import numba + import scipy except ImportError: - return # Skip the test if numba is not available + return # Skip the test if numba/scipy is not available from numba import types from spead2.numba import intp_to_voidptr