diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2017-10-12 09:56:27 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2017-10-12 09:56:27 -0400 |
commit | fdb394a789f334cd6a626faa98cf57beb9798d7f (patch) | |
tree | 9ab621d56a1c5c4ccddc221bb630f724db167102 /igor.py | |
parent | 0fa88cff17d379c18fb02d2274c8c513fa55a6ee (diff) | |
download | python-coveragepy-fdb394a789f334cd6a626faa98cf57beb9798d7f.tar.gz |
Enable DeprecationWarnings during tests
Diffstat (limited to 'igor.py')
-rw-r--r-- | igor.py | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -22,20 +22,6 @@ import zipfile import pytest -# We want to see all warnings while we are running tests. But we also need to -# disable warnings for some of the more complex setting up of tests. -warnings.simplefilter("default") - -# Silence specific warnings that are not our fault. -warnings.filterwarnings("ignore", module="xdist", message="type argument to addoption") -warnings.filterwarnings("ignore", module="flaky", message="type argument to addoption") -warnings.filterwarnings( - # https://github.com/pytest-dev/pytest/issues/2118 - "ignore", - module="_pytest", - message="This usage is deprecated, please use pytest.* instead" -) - @contextlib.contextmanager def ignore_warnings(): |