Open
Description
test_operators_and_elementwise_functions.py
is the most complicated part of the test suite. That inherent complexity should be mitigated as much as possible via good docs. I wrote some broader docs in the file, but think docstrings similiar to the one seen in ph.assert_dtype()
would be well-suited for the *_assert_against_refimpl()
utilities.
array-api-tests/array_api_tests/pytest_helpers.py
Lines 82 to 123 in 87834dd