pytest capture Warnings
This is a pytest plugin to collect and print a summary of all the warnings encountered during test execution and save them in a file.
Installation
pip install pytest-capture-warnings
Usage
pytest --output <output_file> <file_to_test>
or
CAPTURE_WARNINGS_OUTPUT=<output_file> pytest <files_to_test>
Flake8 Format
The output file is formatted on a flake8 format
<filename/path>:<line number>:<character number>:<warning message>
Metadata
Release files for pytest-capture-warnings 0.0.4
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_capture_warnings-0.0.4.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_capture_warnings-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / pytest_capture_warnings-0.0.4.tar.gz
| Download URL | pytest_capture_warnings-0.0.4.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2049d5fed0afdbd5c3a8847763f1ff17c6a962055ddff9391570ce0802727a94
|
|
BLAKE2b-256 checksum How to use checksums |
e86ed21ec12ab5a03f388f8d103af5e2ddb2c2b46d32c59885c209595c634ab9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
|
Release files / pytest_capture_warnings-0.0.4-py3-none-any.whl
| Download URL | pytest_capture_warnings-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
707a39f6263c75b6631cda8f9a855a8d100a17c76395f6e0e56b9f45db06c648
|
|
BLAKE2b-256 checksum How to use checksums |
e78700ae5cea276b60146fbaecfa28ba7ee1730001d13f38b6f09acbc700ee7b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
|