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 same arguments as warnings.filterwarnings in setup.cfg at the root of your project. Separated each argument by pipes |, one filter per line. 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*
If you prefer another name for the configuration file, you can tell nose to load the configuration using the -c flag: 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.3-py2.py3-none-any.whl
.
File metadata
- Download URL: nose_warnings_filters-0.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 157e587e758de657c76b74890656199306d94cee7454ed949af108caa863c9f9 |
|
MD5 | 979eb73ea76dbf56d1a0ebbc7323a08b |
|
BLAKE2b-256 | 1595edaec2df7ee27566672d5a3eea6bf72e03d1978140f66ebcdf3319ee8f14 |