From c63ebe6582f8fb838e985f339b248fe626c7c25d Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Mon, 18 Mar 2024 14:43:32 -0600 Subject: [PATCH 1/3] Update some xfails --- numpy-1-21-xfails.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/numpy-1-21-xfails.txt b/numpy-1-21-xfails.txt index 2a564a3a..b1556dc0 100644 --- a/numpy-1-21-xfails.txt +++ b/numpy-1-21-xfails.txt @@ -121,8 +121,8 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_bitwise_xor[bi array_api_tests/test_operators_and_elementwise_functions.py::test_divide[__truediv__(x, s)] array_api_tests/test_operators_and_elementwise_functions.py::test_divide[__truediv__(x1, x2)] array_api_tests/test_operators_and_elementwise_functions.py::test_divide[divide(x1, x2)] -array_api_tests/test_operators_and_elementwise_functions.py::test_equal[equal(x1, x2)] array_api_tests/test_operators_and_elementwise_functions.py::test_equal[__eq__(x1, x2)] +array_api_tests/test_operators_and_elementwise_functions.py::test_equal[equal(x1, x2)] array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__floordiv__(x, s)] array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__floordiv__(x1, x2)] array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[__ifloordiv__(x, s)] @@ -130,12 +130,14 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_floor_divide[f array_api_tests/test_operators_and_elementwise_functions.py::test_greater[__gt__(x1, x2)] array_api_tests/test_operators_and_elementwise_functions.py::test_greater[greater(x1, x2)] array_api_tests/test_operators_and_elementwise_functions.py::test_less[__lt__(x1, x2)] +array_api_tests/test_operators_and_elementwise_functions.py::test_less[less(x1, x2)] array_api_tests/test_operators_and_elementwise_functions.py::test_less_equal[less_equal(x1, x2)] array_api_tests/test_operators_and_elementwise_functions.py::test_logaddexp array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__imul__(x, s)] array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__mul__(x, s)] array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__mul__(x1, x2)] array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[multiply(x1, x2)] +array_api_tests/test_operators_and_elementwise_functions.py::test_not_equal[not_equal(x1, x2)] array_api_tests/test_operators_and_elementwise_functions.py::test_pow[__ipow__(x, s)] array_api_tests/test_operators_and_elementwise_functions.py::test_pow[__pow__(x, s)] array_api_tests/test_operators_and_elementwise_functions.py::test_pow[__pow__(x1, x2)] From 8d42075864bc9d7c3bd63fbe8826f8956616068c Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Mon, 18 Mar 2024 14:45:01 -0600 Subject: [PATCH 2/3] XFAIL test_prod for NumPy --- numpy-1-21-xfails.txt | 1 + numpy-dev-xfails.txt | 1 + numpy-xfails.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/numpy-1-21-xfails.txt b/numpy-1-21-xfails.txt index b1556dc0..aa6de9f8 100644 --- a/numpy-1-21-xfails.txt +++ b/numpy-1-21-xfails.txt @@ -89,6 +89,7 @@ array_api_tests/test_set_functions.py::test_unique_values # The test suite is incorrectly checking sums that have loss of significance # (https://github.com/data-apis/array-api-tests/issues/168) array_api_tests/test_statistical_functions.py::test_sum +array_api_tests/test_statistical_functions.py::test_prod # NumPy 1.21 doesn't support NPY_PROMOTION_STATE=weak, so many tests fail with # type promotion issues diff --git a/numpy-dev-xfails.txt b/numpy-dev-xfails.txt index 8d291d01..51ff34ad 100644 --- a/numpy-dev-xfails.txt +++ b/numpy-dev-xfails.txt @@ -42,3 +42,4 @@ array_api_tests/meta/test_hypothesis_helpers.py::test_symmetric_matrices # The test suite is incorrectly checking sums that have loss of significance # (https://github.com/data-apis/array-api-tests/issues/168) array_api_tests/test_statistical_functions.py::test_sum +array_api_tests/test_statistical_functions.py::test_prod diff --git a/numpy-xfails.txt b/numpy-xfails.txt index e44d7035..40c6cbc4 100644 --- a/numpy-xfails.txt +++ b/numpy-xfails.txt @@ -44,3 +44,4 @@ array_api_tests/meta/test_hypothesis_helpers.py::test_symmetric_matrices # The test suite is incorrectly checking sums that have loss of significance # (https://github.com/data-apis/array-api-tests/issues/168) array_api_tests/test_statistical_functions.py::test_sum +array_api_tests/test_statistical_functions.py::test_prod From a3e2c0df1d7e72727f881233adfbaa79b1dd2bfb Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Mon, 18 Mar 2024 22:09:25 -0600 Subject: [PATCH 3/3] Add xfail --- numpy-1-21-xfails.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/numpy-1-21-xfails.txt b/numpy-1-21-xfails.txt index aa6de9f8..fe53f452 100644 --- a/numpy-1-21-xfails.txt +++ b/numpy-1-21-xfails.txt @@ -138,6 +138,7 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__imu array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__mul__(x, s)] array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[__mul__(x1, x2)] array_api_tests/test_operators_and_elementwise_functions.py::test_multiply[multiply(x1, x2)] +array_api_tests/test_operators_and_elementwise_functions.py::test_not_equal[__ne__(x1, x2)] array_api_tests/test_operators_and_elementwise_functions.py::test_not_equal[not_equal(x1, x2)] array_api_tests/test_operators_and_elementwise_functions.py::test_pow[__ipow__(x, s)] array_api_tests/test_operators_and_elementwise_functions.py::test_pow[__pow__(x, s)]