-
Notifications
You must be signed in to change notification settings - Fork 45
Add support for an xfails file, and allow the files to be specified with a flag #157
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
Merged
Merged
Changes from 7 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
c6cb4fd
Add support for an xfails file, and allow the files to be specified w…
asmeurer 24f67f8
Don't skip test_has_names with --ci
asmeurer 21d6b9f
Be more lax about id names in xfail and skips files
asmeurer f661284
Move the NumPy skips on CI to a skips file
asmeurer 153c9fa
Be more generous about what lines are allowed in a skips/xfail file
asmeurer 373d05f
Update the README for skips/xfails files
asmeurer 68470c6
Fix the CI example in the README
asmeurer 8e2bff8
Add a warning about the flakyness of XFAILS in the README
asmeurer 82cc470
Fix Markdown formatting
asmeurer 234e9aa
Add note about max examples
asmeurer d7b457a
Decrease the recommended number of max examples for CI
asmeurer 44c7498
Warn if a skip or xfail from a file doesn't correspond to any tests
asmeurer 78a5b20
Merge branch 'master' into xfails-file
asmeurer df7ffe3
Remove recommendation to use -o xfail_strict=True
asmeurer 7c8bbad
Fix skips and xfails files using ~
asmeurer 738efc4
Merge branch 'master' into xfails-file
asmeurer fe878b0
Fix wildcard skip/xfail ids not marking all child tests
honno 1016a02
Fix skip and xfail id matching
asmeurer 54c7141
Fix a typo in the README
asmeurer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# copy not implemented | ||
array_api_tests/test_creation_functions.py::test_asarray_arrays | ||
# https://github.com/numpy/numpy/issues/20870 | ||
array_api_tests/test_data_type_functions.py::test_can_cast | ||
# The return dtype for trace is not consistent in the spec | ||
# https://github.com/data-apis/array-api/issues/202#issuecomment-952529197 | ||
array_api_tests/test_linalg.py::test_trace | ||
# waiting on NumPy to allow/revert distinct NaNs for np.unique | ||
# https://github.com/numpy/numpy/issues/20326#issuecomment-1012380448 | ||
array_api_tests/test_set_functions.py | ||
|
||
# https://github.com/numpy/numpy/issues/21373 | ||
array_api_tests/test_array_object.py::test_getitem | ||
|
||
# missing copy arg | ||
array_api_tests/test_signatures.py::test_func_signature[reshape] | ||
|
||
# https://github.com/numpy/numpy/issues/21211 | ||
array_api_tests/test_special_cases.py::test_iop[__iadd__(x1_i is -0 and x2_i is -0) -> -0] | ||
# https://github.com/numpy/numpy/issues/21213 | ||
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] | ||
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] | ||
# noted diversions from spec | ||
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i > 0) -> +infinity] | ||
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is +infinity and isfinite(x2_i) and x2_i < 0) -> -infinity] | ||
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is -infinity and isfinite(x2_i) and x2_i > 0) -> -infinity] | ||
array_api_tests/test_special_cases.py::test_binary[floor_divide(x1_i is -infinity and isfinite(x2_i) and x2_i < 0) -> +infinity] | ||
array_api_tests/test_special_cases.py::test_binary[floor_divide(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0] | ||
array_api_tests/test_special_cases.py::test_binary[floor_divide(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0] | ||
array_api_tests/test_special_cases.py::test_binary[__floordiv__(x1_i is +infinity and isfinite(x2_i) and x2_i > 0) -> +infinity] | ||
array_api_tests/test_special_cases.py::test_binary[__floordiv__(x1_i is +infinity and isfinite(x2_i) and x2_i < 0) -> -infinity] | ||
array_api_tests/test_special_cases.py::test_binary[__floordiv__(x1_i is -infinity and isfinite(x2_i) and x2_i > 0) -> -infinity] | ||
array_api_tests/test_special_cases.py::test_binary[__floordiv__(x1_i is -infinity and isfinite(x2_i) and x2_i < 0) -> +infinity] | ||
array_api_tests/test_special_cases.py::test_binary[__floordiv__(isfinite(x1_i) and x1_i > 0 and x2_i is -infinity) -> -0] | ||
array_api_tests/test_special_cases.py::test_binary[__floordiv__(isfinite(x1_i) and x1_i < 0 and x2_i is +infinity) -> -0] | ||
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is +infinity and isfinite(x2_i) and x2_i > 0) -> +infinity] | ||
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is +infinity and isfinite(x2_i) and x2_i < 0) -> -infinity] | ||
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity and isfinite(x2_i) and x2_i > 0) -> -infinity] | ||
array_api_tests/test_special_cases.py::test_iop[__ifloordiv__(x1_i is -infinity and isfinite(x2_i) and x2_i < 0) -> +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] |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.