# 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 `
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pytest-subinterpreter-0.0.2.tar.gz.
File metadata
- Download URL: pytest-subinterpreter-0.0.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54edf078f6487bf120c628235ad6fbf1e884510fc99b2e6442800227af544c4f
|
|
| MD5 |
47cf90f7009e8efe1e651934d3833bdd
|
|
| BLAKE2b-256 |
090c15478039cb7ba52b52614b664c06e26249c8a9bd8a4937907d192d9dbdf4
|