Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-subinterpreter-0.0.2.tar.gz (3.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page