-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededneeds discussionnew functionxpx.testing
Description
SciPy has two sets of testing support utilities:
{skip_xfail}_xp_backends
skips, https://github.com/scipy/scipy/blob/main/scipy/conftest.py#L215 . These are convenient for testing across the range of array api backends. Note that these are pytest-specific.- assertions,
xp_assert_{equal,close}
, https://github.com/scipy/scipy/blob/main/scipy/_lib/_array_api.py#L299. These wrap backend-specific assertions, and scipy effectively transitions fromnp.testing
to these ones. Quite a bit of effort went into crafting these ones, and ISTM these can be useful across the ecosystem.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededneeds discussionnew functionxpx.testing