Skip to content

MAINT: always skip test_nan_propagation[cumulative_prod] #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cupy-xfails.txt
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,4 @@ array_api_tests/test_signatures.py::test_func_signature[bitwise_or]
array_api_tests/test_signatures.py::test_func_signature[bitwise_right_shift]
array_api_tests/test_signatures.py::test_func_signature[bitwise_xor]
array_api_tests/test_special_cases.py::test_binary[nextafter(x1_i is +0 and x2_i is -0) -> -0]
array_api_tests/test_special_cases.py::test_nan_propagation[cumulative_prod]

2 changes: 1 addition & 1 deletion dask-xfails.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ array_api_tests/test_linalg.py::test_matrix_norm
array_api_tests/test_linalg.py::test_qr
array_api_tests/test_manipulation_functions.py::test_roll

# Stubs have a comment: (**note**: libraries may return ``NaN`` to match Python behavior.)
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i > 0) -> +infinity]
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i < 0) -> -infinity]
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is -infinity and isfinite(x2_i) and x2_i > 0) -> -infinity]
Expand All @@ -140,4 +141,3 @@ array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity and isfinite(x2_i) and x2_i < 0) -> +infinity]
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0]
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0]
array_api_tests/test_special_cases.py::test_nan_propagation[cumulative_prod]
4 changes: 2 additions & 2 deletions numpy-1-21-xfails.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,13 @@ array_api_tests/test_signatures.py::test_array_method_signature[__dlpack__]
array_api_tests/test_manipulation_functions.py::test_repeat

# 2024.12 support
array_api_tests/test_special_cases.py::test_nan_propagation[cumulative_prod]

array_api_tests/test_signatures.py::test_func_signature[bitwise_and]
array_api_tests/test_signatures.py::test_func_signature[bitwise_left_shift]
array_api_tests/test_signatures.py::test_func_signature[bitwise_or]
array_api_tests/test_signatures.py::test_func_signature[bitwise_right_shift]
array_api_tests/test_signatures.py::test_func_signature[bitwise_xor]

# Stubs have a comment: (**note**: libraries may return ``NaN`` to match Python behavior.); Apparently,NumPy does just that
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i > 0) -> +infinity]
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i < 0) -> -infinity]
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is -infinity and isfinite(x2_i) and x2_i > 0) -> -infinity]
Expand Down
4 changes: 2 additions & 2 deletions numpy-1-26-xfails.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ array_api_tests/test_signatures.py::test_array_method_signature[__dlpack__]
array_api_tests/test_manipulation_functions.py::test_repeat

# 2024.12 support
array_api_tests/test_special_cases.py::test_nan_propagation[cumulative_prod]

array_api_tests/test_signatures.py::test_func_signature[bitwise_and]
array_api_tests/test_signatures.py::test_func_signature[bitwise_left_shift]
array_api_tests/test_signatures.py::test_func_signature[bitwise_or]
array_api_tests/test_signatures.py::test_func_signature[bitwise_right_shift]
array_api_tests/test_signatures.py::test_func_signature[bitwise_xor]

# Stubs have a comment: (**note**: libraries may return ``NaN`` to match Python behavior.); Apparently, NumPy does just that
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i > 0) -> +infinity]
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i < 0) -> -infinity]
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is -infinity and isfinite(x2_i) and x2_i > 0) -> -infinity]
Expand Down
4 changes: 2 additions & 2 deletions numpy-dev-xfails.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ array_api_tests/test_signatures.py::test_extension_func_signature[linalg.vecdot]
array_api_tests/test_manipulation_functions.py::test_repeat

# 2024.12 support
array_api_tests/test_special_cases.py::test_nan_propagation[cumulative_prod]

array_api_tests/test_signatures.py::test_func_signature[bitwise_and]
array_api_tests/test_signatures.py::test_func_signature[bitwise_left_shift]
array_api_tests/test_signatures.py::test_func_signature[bitwise_or]
array_api_tests/test_signatures.py::test_func_signature[bitwise_right_shift]
array_api_tests/test_signatures.py::test_func_signature[bitwise_xor]

# Stubs have a comment: (**note**: libraries may return ``NaN`` to match Python behavior.); Apparently, NumPy does just that
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i > 0) -> +infinity]
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i < 0) -> -infinity]
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is -infinity and isfinite(x2_i) and x2_i > 0) -> -infinity]
Expand Down
2 changes: 0 additions & 2 deletions numpy-xfails.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ array_api_tests/test_signatures.py::test_array_method_signature[__dlpack__]
array_api_tests/test_manipulation_functions.py::test_repeat

# 2024.12 support
array_api_tests/test_special_cases.py::test_nan_propagation[cumulative_prod]

array_api_tests/test_signatures.py::test_func_signature[bitwise_and]
array_api_tests/test_signatures.py::test_func_signature[bitwise_left_shift]
array_api_tests/test_signatures.py::test_func_signature[bitwise_or]
Expand Down
1 change: 0 additions & 1 deletion torch-xfails.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,3 @@ array_api_tests/test_signatures.py::test_array_method_signature[__lshift__]
array_api_tests/test_signatures.py::test_array_method_signature[__or__]
array_api_tests/test_signatures.py::test_array_method_signature[__rshift__]
array_api_tests/test_signatures.py::test_array_method_signature[__xor__]
array_api_tests/test_special_cases.py::test_nan_propagation[cumulative_prod]
Loading