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

Support skipping dtypes by setting ARRAY_API_TESTS_SKIP_DTYPES #266

Closed asmeurer closed 3 months ago

asmeurer commented 3 months ago

This requires using dtype strategies from hh instead of xps.

This also fixes some functions in linalg and fft that were incorrectly only tested against real floating-point dtypes, due to Hypothesis's confusing nomenclature of "floating_dtypes" being only real floating-point dtypes (and this also eliminates the use of Hypothesis's confusing "scalar_dtypes").

Fixes #265