Skip to content

Commit

Permalink
Remove some XPASS tests from the numpy 2.0 xfails file
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Jan 18, 2024
1 parent 6021c55 commit 8cd9536
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions numpy-dev-xfails.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@ array_api_tests/test_creation_functions.py::test_asarray_arrays
array_api_tests/test_data_type_functions.py::test_finfo[float32]

# Array methods and attributes not already on np.ndarray cannot be wrapped
array_api_tests/test_has_names.py::test_has_names[array_method-__array_namespace__]
array_api_tests/test_has_names.py::test_has_names[array_method-to_device]
array_api_tests/test_has_names.py::test_has_names[array_attribute-device]
array_api_tests/test_has_names.py::test_has_names[array_attribute-mT]

# linalg tests require https://github.com/data-apis/array-api-tests/pull/101
# cleanups. Also some tests are using .mT
array_api_tests/test_linalg.py::test_eigvalsh
array_api_tests/test_linalg.py::test_solve
array_api_tests/test_linalg.py::test_trace

# Array methods and attributes not already on np.ndarray cannot be wrapped
array_api_tests/test_signatures.py::test_array_method_signature[__array_namespace__]
Expand All @@ -40,10 +36,6 @@ array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -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]

# testsuite issue with test_square
# https://github.com/data-apis/array-api-tests/issues/190
array_api_tests/test_operators_and_elementwise_functions.py::test_square

# https://github.com/numpy/numpy/issues/21213
array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -infinity and x2_i > 0 and not (x2_i.is_integer() and x2_i % 2 == 1)) -> +infinity]
array_api_tests/test_special_cases.py::test_binary[__pow__(x1_i is -0 and x2_i > 0 and not (x2_i.is_integer() and x2_i % 2 == 1)) -> +0]
Expand Down

0 comments on commit 8cd9536

Please sign in to comment.