Skip to content

Comments

BUG: work around some names not available in 2022.12#351

Merged
ev-br merged 1 commit intodata-apis:masterfrom
ev-br:scalar_tests_on_older_spec
Mar 20, 2025
Merged

BUG: work around some names not available in 2022.12#351
ev-br merged 1 commit intodata-apis:masterfrom
ev-br:scalar_tests_on_older_spec

Conversation

@ev-br
Copy link
Member

@ev-br ev-br commented Mar 20, 2025

Case in point: xp.hypot is only available in 2023.12, and has gotten the support for scalars in 2024.12.

The test for scalars is skipped for versions older than 2024.12, but the test parametrization is evaluated before the skip. Therefore we cannot just use xp.hypot in @parametrize.

Case in point: np.hypot is only available in 2023.12, and has
gotten the support for scalars in 2024.12.

The test for scalars is skipped for versions older than 2024.12, but
the test parametrization is evaluated _before_ the skip. Therefore
we cannot just use `xp.hypot` in `@parametrize`.
@ev-br
Copy link
Member Author

ev-br commented Mar 20, 2025

Merging straight away to unblock data-apis/array-api-strict#133

@ev-br ev-br merged commit abdb4a0 into data-apis:master Mar 20, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant