-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a28bf78
commit 34c8633
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -1 +1,24 @@ | ||
# pytest-subinterpreter | ||
|
||
A Pytest extension for running the pytest session inside a [sub interpreter](https://peps.python.org/554). This extension is mainly targeted for Python extension library maintainers that want to verify their existing test suite works inside a sub interpreter. | ||
|
||
Requirements: | ||
|
||
- Python 3.13.0-alpha.2 or above | ||
- Pytest 7 or above | ||
|
||
## Installation | ||
|
||
```console | ||
pip install pytest-subinterpreter | ||
``` | ||
|
||
## Usage | ||
|
||
The extension arguments are: | ||
|
||
- `--interpreter-per` Defaults to `session` (also the only option at the moment). | ||
|
||
```console | ||
pytest tests/test_simple.py | ||
``` |