data-apis / array-api-tests

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

Fix way to determine default_complex #283

Closed cbourjau closed 2 months ago

cbourjau commented 3 months ago

The current test suite crashes during the collection time if the implementation in question does not support complex data types. This PR changes the way in which the default_complex type is determined to avoid the issue. Further discussion and context can be found here.