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 | df7bc8647d26ee93ea0fb213972bf9c47353e795 (patch) | |
tree | a32bc0c19a7bdcc5dcb98e628fbe35645b34fdc3 /igor.py | |
parent | 1a0d55751dda29b70240e06d5264544c0d45b845 (diff) | |
download | python-coveragepy-git-df7bc8647d26ee93ea0fb213972bf9c47353e795.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(): |