summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-11-26 09:28:30 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-11-26 09:28:30 -0500
commit9dec07e671f911ebd1ce6f6dfafc524c2ae57169 (patch)
tree7fbd614cdb9b87c7954094ee2045ffc8f91d20af /igor.py
parente05a8b81ce137bf5335fa3496cbee955e0ad4750 (diff)
downloadpython-coveragepy-9dec07e671f911ebd1ce6f6dfafc524c2ae57169.tar.gz
Enable pytest warnings, and fix/silence a few
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/igor.py b/igor.py
index b82fc96..8e09cd0 100644
--- a/igor.py
+++ b/igor.py
@@ -26,6 +26,9 @@ import pytest
# 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")
+
@contextlib.contextmanager
def ignore_warnings():