A pytest plugin which brings the coloured diff output from the Ward test framework to pytest.
Before
After
Requirements
Supports Python 3.6+.
Installation
You can install “pytest-clarity” via pip:
$ pip install pytest-clarity
Usage
Install the plugin as described above.
The plugin will only be activated when the -vv option is supplied to pytest.
You can configure the width of the output with the --diff-width option:
pytest -vv --diff-width=60
You can force pytest-clarity to show a symbolic diff with --diff-symbols:
pytest -vv --diff-symbols
Metadata
Release files for pytest-clarity 1.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 | Actions |
|---|---|---|---|---|
| pytest-clarity-1.0.1.tar.gz | 4.9 kB | Without provenance | Details for pytest-clarity-1.0.1.tar.gz |
Release files / pytest-clarity-1.0.1.tar.gz
| Download URL | pytest-clarity-1.0.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
505fe345fad4fe11c6a4187fe683f2c7c52c077caa1e135f3e483fe112db7772
|
|
BLAKE2b-256 checksum How to use checksums |
525ccafa97944de55738a6a2c5a7cee00d073cb80495032d2b112c4546525eca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.2
|
Security for pytest-clarity 1.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.