diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-11-26 09:28:30 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-11-26 09:28:30 -0500 |
commit | 9dec07e671f911ebd1ce6f6dfafc524c2ae57169 (patch) | |
tree | 7fbd614cdb9b87c7954094ee2045ffc8f91d20af /igor.py | |
parent | e05a8b81ce137bf5335fa3496cbee955e0ad4750 (diff) | |
download | python-coveragepy-9dec07e671f911ebd1ce6f6dfafc524c2ae57169.tar.gz |
Enable pytest warnings, and fix/silence a few
Diffstat (limited to 'igor.py')
-rw-r--r-- | igor.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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(): |