Nose plugin to add warnings filters (turn them into error) using nose.cfg file.
Project description
Allow to inject warning filters during nosetest.
Put the the same arguments as warnings.filterwarnings in nose.cfg separated by pipes |. Whitespace are stripped.
for example:
[nosetests] warningfilters=default |.* |DeprecationWarning |notebook.* ignore |.*metadata.* |DeprecationWarning |notebook.* once |.*schema.* |UserWarning |nbfor.* error |.*warn.* |DeprecationWarning |notebook.services.contents.manager*
run the tests with nosetests -c nose.cfg
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file nose_warnings_filters-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: nose_warnings_filters-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d5493c7aac422e204092373fb48471e84147aa2bf8b2a6a7f101ea45f8514c8 |
|
MD5 | e1dc48f90ad0741b0a1fe8af7fb0b54f |
|
BLAKE2b-256 | 85d6534307cb01180912327045d31fb93b396d8199b2cd1a99268fca956c0939 |