-
Notifications
You must be signed in to change notification settings - Fork 45
Skip extension tests if the respective extension is not found or is passed via --disable-extensions
#29
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
Skip extension tests if the respective extension is not found or is passed via --disable-extensions
#29
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
9634d04
Add custom marker `xp_extension()`
honno a40ac21
Fix `xp_extension()` mark collection, apply to `test_signature.py`
honno 49ed0c0
Fix `xp_extension()` collection, apply to `test_linalg.py`
honno 62ded60
Rename `meta_tests` to `meta`
honno f8d12de
Remove redundant linalg xfail
honno 15640a2
Split `conftest.py`
honno 2d3835c
Remove `xp_extension()` for top-level linalg tests
honno d9d8bc1
Remove `--ext` shorthand option
honno 39b11d1
Remove numpy requirement in installation instructions
honno 0d19396
Add `--enable-extension` option
honno c849cf8
Document enable/disable ext options
honno a860c46
Read `xfails.txt` for xfailing tests, update NumPy workflow
honno 1e80b57
Fix xfail collection
honno 5542a0b
Improve README updates
honno 6e452fe
Update NumPy workflow xfails
honno 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,9 @@ | ||
from ..test_signatures import extension_module | ||
|
||
|
||
def test_extension_module_is_extension(): | ||
assert extension_module('linalg') | ||
|
||
|
||
def test_extension_func_is_not_extension(): | ||
assert not extension_module('linalg.cross') |
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
Oops, something went wrong.
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.