Skip to content

Commit 1d1a466

Browse files
PrathumPim-vinicius
authored and
im-vinicius
committed
CLN : Removed unnecessary numba-compat code (pandas-dev#53947)
* Removed unnecessary numba-compat code * minor change
1 parent 4049f40 commit 1d1a466

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pandas/util/_test_decorators.py

-7
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,6 @@ def safe_import(mod_name: str, min_version: str | None = None):
6969
mod = __import__(mod_name)
7070
except ImportError:
7171
return False
72-
except SystemError:
73-
# TODO: numba is incompatible with numpy 1.24+.
74-
# Once that's fixed, this block should be removed.
75-
if mod_name == "numba":
76-
return False
77-
else:
78-
raise
7972

8073
if not min_version:
8174
return mod

0 commit comments

Comments
 (0)