diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-05 11:39:40 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-05 11:39:40 -0500 |
commit | 1607bdbcf8dfc59d3226ee5b8745a4a1d0a0bb75 (patch) | |
tree | cdec104f570cade3d74d1ae74fccd3bc60f3c32e | |
parent | c8a239bf8b2d23b22f75c4453862a92afa41ff79 (diff) | |
download | python-coveragepy-git-1607bdbcf8dfc59d3226ee5b8745a4a1d0a0bb75.tar.gz |
Silence an internal pytest deprecation warning
-rw-r--r-- | igor.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -28,6 +28,12 @@ warnings.simplefilter("default") # Silence specific warnings that are not our fault. warnings.filterwarnings("ignore", module="xdist", 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 |