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
commitdf7bc8647d26ee93ea0fb213972bf9c47353e795 (patch)
treea32bc0c19a7bdcc5dcb98e628fbe35645b34fdc3 /igor.py
parent1a0d55751dda29b70240e06d5264544c0d45b845 (diff)
downloadpython-coveragepy-git-df7bc8647d26ee93ea0fb213972bf9c47353e795.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 b82fc96b..8e09cd0d 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():