Skip to content

Commit 3f14b18

Browse files
committedMar 15, 2025·
add torch xfails for scalars in binary functions
1 parent e14754b commit 3f14b18

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed
 

‎torch-xfails.txt

+19-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ array_api_tests/test_signatures.py::test_func_signature[from_dlpack]
124124
# Argument 'max_version' missing from signature
125125
array_api_tests/test_signatures.py::test_array_method_signature[__dlpack__]
126126

127-
128127
# 2024.12 support
129128
array_api_tests/test_signatures.py::test_func_signature[bitwise_and]
130129
array_api_tests/test_signatures.py::test_func_signature[bitwise_left_shift]
@@ -136,3 +135,22 @@ array_api_tests/test_signatures.py::test_array_method_signature[__lshift__]
136135
array_api_tests/test_signatures.py::test_array_method_signature[__or__]
137136
array_api_tests/test_signatures.py::test_array_method_signature[__rshift__]
138137
array_api_tests/test_signatures.py::test_array_method_signature[__xor__]
138+
139+
# 2024.12 support: binary functions reject python scalar arguments
140+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[atan2]
141+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[copysign]
142+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[divide]
143+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[hypot]
144+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[logaddexp]
145+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[maximum]
146+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[minimum]
147+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[equal]
148+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[neq]
149+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[less]
150+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[les_equal]
151+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[greater]
152+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_real[greater_equal]
153+
154+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_bool[logical_and]
155+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_bool[logical_or]
156+
array_api_tests/test_operators_and_elementwise_functions.py::test_binary_with_scalars_bool[logical_xor]

0 commit comments

Comments
 (0)
Please sign in to comment.