The garbage collector plugin for py.test.
Installation
Install the plugin with:
$ pip install pytest-gc
Usage
There are a few options to use this plugin:
Disable automatic garbage collection when running tests with gc-disable.
Set the garbage collection thresholds using gc-threshold option.
Also, set the scope for the plugin’s fixtures with gc-scope, default function.
So, for example, if you wanna change the gc thresholds for test run, just type:
$ pytest --gc-threshold 5 7 8 --gc-scope session
Notes
The repository of this plugin is at https://github.com/vtitor/pytest-gc.
For more info on py.test see http://pytest.org.
Metadata
Release files for pytest-gc 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pytest-gc-0.0.1.tar.gz | 2.0 kB | Without provenance | Details |
Release files / pytest-gc-0.0.1.tar.gz
| Download URL | pytest-gc-0.0.1.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
642be65333d46b38bb4c4484cb756265be04842016b5deeed2dfbbd5fe445e2c
|
|
BLAKE2b-256 checksum How to use checksums |
569c31a3d054a3f1effb1d3e9bd6acf367de540a73e1b039311877e5adf0d2f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytest-gc 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.