Skip to main content

# 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 `

Release files for pytest-subinterpreter 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-subinterpreter 0.0.2
File Size Uploaded
pytest-subinterpreter-0.0.2.tar.gz 3.3 kB Details

Release files / pytest-subinterpreter-0.0.2.tar.gz

Download URL pytest-subinterpreter-0.0.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
54edf078f6487bf120c628235ad6fbf1e884510fc99b2e6442800227af544c4f
BLAKE2b-256 checksum
How to use checksums
090c15478039cb7ba52b52614b664c06e26249c8a9bd8a4937907d192d9dbdf4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page