-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
good first issueeasy issue that is friendly to new contributoreasy issue that is friendly to new contributortopic: selectionrelated to test selection from the command linerelated to test selection from the command linetype: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch
Description
As discussed in #2338
The Skipped exception already has allow_module_level=True as argument which is used by pytest.importorskip internally - so you should already be able to do raise pytest.skip.Exception("...", allow_module_level=True).
I think we should just expose that via pytest.skip(...) too.
Metadata
Metadata
Assignees
Labels
good first issueeasy issue that is friendly to new contributoreasy issue that is friendly to new contributortopic: selectionrelated to test selection from the command linerelated to test selection from the command linetype: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch