data-apis / array-api-tests

Test suite for the PyData Array APIs standard
https://data-apis.org/array-api-tests/
MIT License
63 stars 39 forks source link

Add a sanity check that signbit works #257

Closed asmeurer closed 4 months ago

asmeurer commented 4 months ago

The array-api-strict package disables signbit at runtime when the API version is set to 2022.12. This happens when the function is called, so the hasattr check would pass even though the function call fails.