-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update array API tests without adding complex number support (#37)
Co-authored-by: Aditya Goel <48102515+adityagoel4512@users.noreply.github.com> Co-authored-by: Aditya Goel <agoel4512@gmail.com>
- Loading branch information
1 parent
28f5773
commit 75de95e
Showing
5 changed files
with
180 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule api-coverage-tests
updated
52 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,104 +1,4 @@ | ||
array_api_tests/test_creation_functions.py::test_meshgrid | ||
array_api_tests/test_has_names.py::test_has_names[array_attribute-device] | ||
array_api_tests/test_has_names.py::test_has_names[array_method-__dlpack__] | ||
array_api_tests/test_has_names.py::test_has_names[array_method-__dlpack_device__] | ||
array_api_tests/test_has_names.py::test_has_names[array_method-to_device] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-det] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-diagonal] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-eigh] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-eigvalsh] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-inv] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-matmul] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-matrix_norm] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-matrix_power] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-matrix_rank] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-matrix_transpose] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-outer] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-pinv] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-qr] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-slogdet] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-solve] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-svd] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-svdvals] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-tensordot] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-trace] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-vecdot] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-vector_norm] | ||
array_api_tests/test_has_names.py::test_has_names[linear_algebra-tensordot] | ||
array_api_tests/test_has_names.py::test_has_names[linear_algebra-vecdot] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-cross] | ||
array_api_tests/test_has_names.py::test_has_names[linalg-cholesky] | ||
array_api_tests/test_linalg.py | ||
array_api_tests/test_set_functions.py::test_unique_all | ||
array_api_tests/test_set_functions.py::test_unique_counts | ||
array_api_tests/test_set_functions.py::test_unique_inverse | ||
array_api_tests/test_set_functions.py::test_unique_values | ||
array_api_tests/test_signatures.py::test_array_method_signature[__array_namespace__] | ||
array_api_tests/test_signatures.py::test_array_method_signature[__dlpack__] | ||
array_api_tests/test_signatures.py::test_array_method_signature[__dlpack_device__] | ||
array_api_tests/test_signatures.py::test_array_method_signature[to_device] | ||
array_api_tests/test_signatures.py::test_func_signature[from_dlpack] | ||
array_api_tests/test_signatures.py::test_func_signature[tensordot] | ||
array_api_tests/test_signatures.py::test_func_signature[vecdot] | ||
array_api_tests/test_signatures.py::test_func_signature[meshgrid] | ||
array_api_tests/test_sorting_functions.py::test_argsort | ||
array_api_tests/test_special_cases.py::test_binary[__mod__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> x2_i] | ||
array_api_tests/test_special_cases.py::test_binary[__mod__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> x2_i] | ||
array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is +0 and x2_i < 0) -> -0] | ||
array_api_tests/test_special_cases.py::test_binary[__mod__(x1_i is -0 and x2_i > 0) -> +0] | ||
array_api_tests/test_special_cases.py::test_binary[add(x1_i is -infinity and x2_i is -infinity) -> -infinity] | ||
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i is +infinity and x2_i is -infinity) -> roughly +3pi/4] | ||
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i < 0 and x2_i is -0) -> roughly -pi/2] | ||
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i > 0 and isfinite(x1_i) and x2_i is -infinity) -> roughly +pi] | ||
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i > 0 and x2_i is -0) -> roughly +pi/2] | ||
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i is +0 and x2_i < 0) -> roughly +pi] | ||
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i is +0 and x2_i is +0) -> +0] | ||
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i is +0 and x2_i is -0) -> roughly +pi] | ||
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i is -0 and x2_i < 0) -> roughly -pi] | ||
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i is -0 and x2_i is +0) -> -0] | ||
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i is -0 and x2_i is -0) -> roughly -pi] | ||
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i is -infinity and x2_i is +infinity) -> roughly -pi/4] | ||
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i is -infinity and x2_i is -infinity) -> roughly -3pi/4] | ||
array_api_tests/test_special_cases.py::test_binary[floor_divide(copysign(1, x1_i) != copysign(1, x2_i) and isfinite(x1_i) and x1_i != 0 and isfinite(x2_i) and x2_i != 0) -> negative sign] | ||
array_api_tests/test_special_cases.py::test_binary[__floordiv__(copysign(1, x1_i) != copysign(1, x2_i) and isfinite(x1_i) and x1_i != 0 and isfinite(x2_i) and x2_i != 0) -> negative sign] | ||
array_api_tests/test_special_cases.py::test_binary[__floordiv__((x1_i is +infinity or x1_i == -infinity) and (x2_i is +infinity or x2_i == -infinity)) -> NaN] | ||
array_api_tests/test_special_cases.py::test_binary[remainder(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> x2_i] | ||
array_api_tests/test_special_cases.py::test_binary[remainder(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> x2_i] | ||
array_api_tests/test_special_cases.py::test_binary[remainder(x1_i is +0 and x2_i < 0) -> -0] | ||
array_api_tests/test_special_cases.py::test_binary[remainder(x1_i is -0 and x2_i > 0) -> +0] | ||
array_api_tests/test_special_cases.py::test_empty_arrays[prod] | ||
array_api_tests/test_special_cases.py::test_iop[__imod__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> x2_i] | ||
array_api_tests/test_special_cases.py::test_iop[__imod__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> x2_i] | ||
array_api_tests/test_special_cases.py::test_iop[__imod__(x1_i is +0 and x2_i < 0) -> -0] | ||
array_api_tests/test_special_cases.py::test_iop[__imod__(x1_i is -0 and x2_i > 0) -> +0] | ||
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(copysign(1, x1_i) != copysign(1, x2_i) and isfinite(x1_i) and x1_i != 0 and isfinite(x2_i) and x2_i != 0) -> negative sign] | ||
array_api_tests/test_special_cases.py::test_nan_propagation[prod] | ||
array_api_tests/test_special_cases.py::test_unary[acos(x_i < -1) -> NaN] | ||
array_api_tests/test_special_cases.py::test_unary[acos(x_i > 1) -> NaN] | ||
array_api_tests/test_special_cases.py::test_unary[asin(x_i < -1) -> NaN] | ||
array_api_tests/test_special_cases.py::test_unary[asin(x_i > 1) -> NaN] | ||
array_api_tests/test_special_cases.py::test_unary[atanh(x_i < -1) -> NaN] | ||
array_api_tests/test_special_cases.py::test_unary[atanh(x_i > 1) -> NaN] | ||
array_api_tests/test_special_cases.py::test_unary[expm1(x_i is -0) -> -0] | ||
array_api_tests/test_special_cases.py::test_unary[log1p(x_i is +0) -> +0] | ||
array_api_tests/test_special_cases.py::test_unary[log1p(x_i is -0) -> -0] | ||
array_api_tests/test_special_cases.py::test_unary[log1p(x_i is -1) -> -infinity] | ||
array_api_tests/test_special_cases.py::test_unary[sinh(x_i is +0) -> +0] | ||
array_api_tests/test_special_cases.py::test_unary[sinh(x_i is +infinity) -> +infinity] | ||
array_api_tests/test_special_cases.py::test_unary[sinh(x_i is -0) -> -0] | ||
array_api_tests/test_special_cases.py::test_unary[sinh(x_i is -infinity) -> -infinity] | ||
array_api_tests/test_special_cases.py::test_unary[sinh(x_i is NaN) -> NaN] | ||
array_api_tests/test_special_cases.py::test_unary[sqrt(x_i < 0) -> NaN] | ||
array_api_tests/test_statistical_functions.py::test_prod | ||
array_api_tests/test_statistical_functions.py::test_std | ||
array_api_tests/test_statistical_functions.py::test_var | ||
array_api_tests/test_statistical_functions.py::test_sum | ||
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i < 0 and isfinite(x1_i) and x2_i is -infinity) -> roughly -pi] | ||
array_api_tests/test_special_cases.py::test_binary[atan2(x1_i is +infinity and x2_i is +infinity) -> roughly +pi/4] | ||
array_api_tests/test_has_names.py::test_has_names[array_attribute-size] | ||
array_api_tests/test_has_names.py::test_has_names[creation-from_dlpack] | ||
array_api_tests/test_has_names.py::test_has_names[creation-meshgrid] | ||
array_api_tests/test_operators_and_elementwise_functions.py::test_pow | ||
array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide | ||
array_api_tests/test_operators_and_elementwise_functions.py::test_atan2 | ||
array_api_tests/test_operators_and_elementwise_functions.py::test_sinh | ||
# The following tests cause segfaults | ||
|
||
array_api_tests/test_manipulation_functions.py::test_roll | ||
array_api_tests/test_data_type_functions.py::test_broadcast_arrays |
Oops, something went wrong.