-
Notifications
You must be signed in to change notification settings - Fork 30
Changes to elementwise function tests that use complex data types #1412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
View rendered docs @ https://intelpython.github.io/dpctl/pulls/1412/index.html |
If the other PR where elementwise tess were added, I skipped these test only on windows. Can it be supported? |
I've pushed a change that should do just that. |
c0b253f
to
8cdc736
Compare
Array API standard conformance tests for dpctl=0.15.0rc1=py310ha25a700_3 ran successfully. |
Also rewrote overlap test for abs to only use a single dtype
…a types on some platforms The marker "broken_complex" can be used to skip these broken tests. Running the tests with `pytest --runcomplex` permits running the test.
Array API standard conformance tests for dpctl=0.15.0rc1=py310ha25a700_4 ran successfully. |
1 similar comment
Array API standard conformance tests for dpctl=0.15.0rc1=py310ha25a700_4 ran successfully. |
8cdc736
to
af7fea1
Compare
Array API standard conformance tests for dpctl=0.15.0rc1=py310ha25a700_10 ran successfully. |
af7fea1
to
39a48e1
Compare
Array API standard conformance tests for dpctl=0.15.0rc1=py310ha25a700_10 ran successfully. |
pyproject.toml
Outdated
@@ -33,6 +33,9 @@ omit = [ | |||
] | |||
|
|||
[tool.pytest.ini.options] | |||
markers = [ | |||
"broken_complex: mark a test that is skipped due to complex implementation", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"broken_complex: mark a test that is skipped due to complex implementation", | |
"broken_complex: mark a test that is skipped on Windows due to complex implementation", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Module a nit in the description of broken_complex
marker, this is good. Thank you @ndgrigorian
"on Windows" added to make it clear that this marker only skips for Windows platforms
Array API standard conformance tests for dpctl=0.15.0rc1=py310ha25a700_13 ran successfully. |
This PR simplifies the
test_[func]_out_overlap
testing for elementwise funcs in dpctl by removing most of these tests, which were redundant, leaving only a test for overlap intest_abs.py
.This PR also modifies
pyproject.toml
andconftest.py
to add a new pytest marker and complementary option,broken_complex
, which skips some tests by default due to known issues on some platforms (esp. Windows).