-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
When running the array API testsuite with pykokkos
, one can see this warning: hypothesis/extra/array_api.py:789: HypothesisWarning: Could not determine whether module pykokkos is an Array API library
.
If you look at the related code block in hypothesis
testing library proper:
try:
array = xp.zeros(1)
array.__array_namespace__()
except Exception:
warn(
f"Could not determine whether module {xp.__name__} is an Array API library",
HypothesisWarning,
)
For details on the requirements for this __array_namespace__()
method see: