Skip to content

Commit fe0acfa

Browse files
committed
Change relevant references from NumPy to array-api-strict
And update skips file
1 parent a3e3552 commit fe0acfa

File tree

4 files changed

+12
-56
lines changed

4 files changed

+12
-56
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
env:
2929
ARRAY_API_TESTS_MODULE: array_api_strict
3030
run: |
31-
pytest -v -rxXfE --skips-file numpy-skips.txt array_api_tests/
31+
pytest -v -rxXfE --skips-file array-api-strict-skips.txt array_api_tests/
3232
# We also have internal tests that isn't really necessary for adopters
3333
pytest -v -rxXfE meta_tests/

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ issues](https://github.com/data-apis/array-api-tests/issues/) to us.
138138

139139
## Running on CI
140140

141-
See our existing [GitHub Actions workflow for
142-
Numpy](https://github.com/data-apis/array-api-tests/blob/master/.github/workflows/numpy.yml)
143-
for an example of using the test suite on CI.
141+
See our existing [GitHub Actions workflow for `array-api-strict`](https://github.com/data-apis/array-api-tests/blob/master/.github/workflows/test.yml)
142+
for an example of using the test suite on CI. Note [`array-api-strict`](https://github.com/data-apis/array-api-strict)
143+
is an implementation of the array API that uses NumPy under the hood.
144144

145145
### Releases
146146

array-api-strict-skips.txt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Known special case issue in NumPy. Not worth working around here
2+
# https://github.com/numpy/numpy/issues/21213
3+
array_api_tests/test_special_cases.py::test_iop[__ipow__(x1_i is -infinity and x2_i > 0 and not (x2_i.is_integer() and x2_i % 2 == 1)) -> +infinity]
4+
array_api_tests/test_special_cases.py::test_iop[__ipow__(x1_i is -0 and x2_i > 0 and not (x2_i.is_integer() and x2_i % 2 == 1)) -> +0]
5+
6+
# The test suite is incorrectly checking sums that have loss of significance
7+
# (https://github.com/data-apis/array-api-tests/issues/168)
8+
array_api_tests/test_statistical_functions.py::test_sum

numpy-skips.txt

-52
This file was deleted.

0 commit comments

Comments
 (0)