summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-10-12 09:56:27 -0400
committerNed Batchelder <ned@nedbatchelder.com>2017-10-12 09:56:27 -0400
commitf7a6f9ed9b69d3dc1fb0586b89f16eff37951b22 (patch)
treebb88634820550082111f18b2204ce5b0b6bb9b7a /igor.py
parentf89277e1369bfaea7f70cf2471f7f6514c375146 (diff)
downloadpython-coveragepy-git-f7a6f9ed9b69d3dc1fb0586b89f16eff37951b22.tar.gz
Enable DeprecationWarnings during tests
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/igor.py b/igor.py
index 15e385e7..2e8bab3d 100644
--- a/igor.py
+++ b/igor.py
@@ -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():