What is this
This is a pytest plugin that provides a couple of fixtures to match test output against patterns stored in files. Expectation files are placed in a base directory, and additional paths are derived from the test module name, test class name and test function name:
<base-dir>/<test-module-name>/[test-class-name/]<test-function-name>[[<callspec-id>]]
Keeping the expectation files separate from tests reduces the amount of test code and makes it possible to match more than just a few lines of output.
Documentation
The latest documentation can be found here.
See Also
Metadata
Release files for pytest-matcher 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest_matcher-2.1.0.tar.gz | 58.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_matcher-2.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 80.5 kB
Release files / pytest_matcher-2.1.0.tar.gz
| Download URL | pytest_matcher-2.1.0.tar.gz |
|---|---|
| Size | 58.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d3aa0e2f2d04280f00d00ddbac548f0129af44d73479b758d0eecb8da2cb427
|
|
BLAKE2b-256 checksum How to use checksums |
b71dca5b9d5ba972fb94de096d036dd99188c9c09632150d1b252eaba57cca6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 7, 2025.
Transparency logRelease files / pytest_matcher-2.1.0-py3-none-any.whl
| Download URL | pytest_matcher-2.1.0-py3-none-any.whl |
|---|---|
| Size | 22.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfe6f28bd823e7d712b714e50ba702c293203bd312cc2226c5a4ec38e4840774
|
|
BLAKE2b-256 checksum How to use checksums |
2905ecfcc10590b840e4deacc80868ebce1cb05fd461734f06f19890a2b6f81c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 7, 2025.
Transparency log