diff --git a/pandas/util/_test_decorators.py b/pandas/util/_test_decorators.py index 20cc83e86b435..59f30cd4e6e8f 100644 --- a/pandas/util/_test_decorators.py +++ b/pandas/util/_test_decorators.py @@ -69,13 +69,6 @@ def safe_import(mod_name: str, min_version: str | None = None): mod = __import__(mod_name) except ImportError: return False - except SystemError: - # TODO: numba is incompatible with numpy 1.24+. - # Once that's fixed, this block should be removed. - if mod_name == "numba": - return False - else: - raise if not min_version: return mod