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.
details configuration.
Each line of warning filter is separated in maximum 4 sections, that match the first 4 sections of filterwarnings:
filterwarnings(action, message="", category=Warning, module="", lineno=0, append=False)
fields 2 to 4 can be omitted, ie to say 1 line can be of the following form:
action action| message action| message | category action| message | category | module
the value of each fields is treated the same as for filterwarnigns except: - whitespace are trimmed. - if the category has dots, the corresponding class try to be imported. If it does not have dots, the name is looked up in builtins or __builtins__
test are failing
For some reasons in some systems tests are failing; it seem that this package have difficulty to self-test. That’s likely due to the fact that the tested package need to be in different namespaces, and by self-testing we break this assumption.
Home-page: https://github.com/Carreau/nose_warnings_filters Author: Matthias Bussonnier Author-email: bussonniermatthias@gmail.com License: MIT Description: UNKNOWN Platform: UNKNOWN Requires-Python: >=2.7
Metadata
Release files for nose_warnings_filters 0.1.5
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 |
|---|---|---|---|---|
| nose_warnings_filters-0.1.5.tar.gz | 3.9 kB | Without provenance | Details for nose_warnings_filters-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nose_warnings_filters-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for nose_warnings_filters-0.1.5-py3-none-any.whl |
Total release size: 10.9 kB
Release files / nose_warnings_filters-0.1.5.tar.gz
| Download URL | nose_warnings_filters-0.1.5.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
456c5b2ccca24e1d00a7b558274ebf9318305813dcb9585951a73ae11d76bb9d
|
|
BLAKE2b-256 checksum How to use checksums |
aed3e938dcf676b40e599551976bacdbaf3c4e10c8f97d7fe65fbf4847615603
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / nose_warnings_filters-0.1.5-py3-none-any.whl
| Download URL | nose_warnings_filters-0.1.5-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09ad91b734b4069c0ad2dd4a78abb5f02d7150847f954a013d49647fad77ae4e
|
|
BLAKE2b-256 checksum How to use checksums |
753943df25dd5eebcb60875a594e0e1591f7be21cfa1de331c15b9094f01894b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for nose_warnings_filters 0.1.5
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.