Run pytest in a subinterpreter
Project description
# 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 `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for pytest-subinterpreter-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54edf078f6487bf120c628235ad6fbf1e884510fc99b2e6442800227af544c4f |
|
MD5 | 47cf90f7009e8efe1e651934d3833bdd |
|
BLAKE2b-256 | 090c15478039cb7ba52b52614b664c06e26249c8a9bd8a4937907d192d9dbdf4 |