Skip to content

TST, CI: Skip platform dependent array API failures + adding windows and macOS env in CI - #240

Open
prady0t wants to merge 4 commits into
data-apis:mainfrom
prady0t:add-test-skips
Open

TST, CI: Skip platform dependent array API failures + adding windows and macOS env in CI#240
prady0t wants to merge 4 commits into
data-apis:mainfrom
prady0t:add-test-skips

Conversation

@prady0t

@prady0t prady0t commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Closes: #238

Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
Comment thread array-api-tests-xfails.txt Outdated
Comment thread array-api-tests-xfails.txt
Co-authored-by: Evgeni Burovski <evgeny.burovskiy@gmail.com>
Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
@prady0t prady0t changed the title TST: Skip platform dependent array API failures TST, CI: Skip platform dependent array API failures + adding windows and macOS env in CI Aug 10, 2026
@ev-br

ev-br commented Aug 10, 2026

Copy link
Copy Markdown
Member

Ah, you're adding the new CI runs here... because I did not press the green button. OK, let's carry on in this PR then.

@prady0t

prady0t commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Two new failures in CI

macOS:

array_api_tests/test_special_cases.py::test_unary[atanh(real(x_i) is NaN and isfinite(imag(x_i))) -> NaN + NaN j] - AssertionError: out=(nan+1.5707963267948966j), but should be NaN + NaN j [atanh()]

Windows:

array_api_tests/test_creation_functions.py::test_arange - AssertionError: out.dtype=int64, should be default integer dtype int32 [arange()]

array_api_tests/test_creation_functions.py::test_full - AssertionError: out.dtype=int64, should be default integer dtype int32 [full()]

@prady0t

prady0t commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

On my machine (macOS 26.5.1) it passed

array_api_tests/test_special_cases.py::test_unary[atanh(real(x_i) is NaN and isfinite(imag(x_i))) -> NaN + NaN j] PASSED

For test on windows:

full((),0) and arange(0,0) are problematic.

Comment thread array-api-tests-xfails.txt

@ev-br ev-br left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that data-apis/array-api-tests#454 implemented support for multiple skip files, would be best to move platform-specific xfails to the new ...-macos-xfail.txt files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Platform-dependent test failures in atanh and tanh

3 participants