diff options
Diffstat (limited to 'numpy/tests/test_public_api.py')
-rw-r--r-- | numpy/tests/test_public_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/tests/test_public_api.py b/numpy/tests/test_public_api.py index 26402fa2a..1eca25afb 100644 --- a/numpy/tests/test_public_api.py +++ b/numpy/tests/test_public_api.py @@ -481,7 +481,7 @@ def test_array_api_entry_point(): except StopIteration: raise AssertionError("'numpy' not in array_api entry points") from None - xp = importlib.import_module(ep.value) + xp = ep.load() msg = ( f"numpy entry point value '{ep.value}' " "does not point to our Array API implementation" |