Skip to content

Commit 6901fc0

Browse files
committed
xfail linspace and where
1 parent 1297e56 commit 6901fc0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

numpy-1-22-xfails.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ array_api_tests/meta/test_hypothesis_helpers.py::test_symmetric_matrices
4242
# cross has some promotion bug that is fixed in newer numpy versions
4343
array_api_tests/test_linalg.py::test_cross
4444

45+
# linspace(-0.0, -1.0, num=1) returns +0.0 instead of -0.0.
46+
# Fixed in newer numpy versions.
47+
array_api_tests/test_creation_functions.py::test_linspace
48+
4549
# vector_norm with ord=-1 which has since been fixed
4650
# https://github.com/numpy/numpy/issues/21083
4751
array_api_tests/test_linalg.py::test_vector_norm
@@ -116,6 +120,7 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[__isu
116120
array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[__sub__(x, s)]
117121
array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[__sub__(x1, x2)]
118122
array_api_tests/test_operators_and_elementwise_functions.py::test_subtract[subtract(x1, x2)]
123+
array_api_tests/test_searching_functions.py::test_where
119124
array_api_tests/test_special_cases.py::test_iop[__iadd__(x1_i is -0 and x2_i is -0) -> -0]
120125

121126
# 2023.12 support

0 commit comments

Comments
 (0)