Skip to content

Commit

Permalink
CLN : Removed unnecessary numba-compat code (#53947)
Browse files Browse the repository at this point in the history
* Removed unnecessary numba-compat code

* minor change
  • Loading branch information
PrathumP authored Jun 30, 2023
1 parent 757e7e9 commit dd16728
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pandas/util/_test_decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd16728

Please sign in to comment.