diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-12 17:06:52 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-12 17:09:51 -0400 |
commit | de00789a23dc030fbbcd4814ff3478c307b70bb4 (patch) | |
tree | ab27c5a25b03166c63705f322bfd468618abd8e8 /tests | |
parent | e982dacef6cf67035c0d57a959e24c1bd4205fb1 (diff) | |
download | python-coveragepy-git-de00789a23dc030fbbcd4814ff3478c307b70bb4.tar.gz |
test: we really don't want to hear about imp being deprecated
Diffstat (limited to 'tests')
-rw-r--r-- | tests/conftest.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 75adf3f2..d3fd1538 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -51,6 +51,11 @@ def set_warnings(): category=ImportWarning, message=r".*find_spec\(\) not found; falling back to find_module\(\)", ) + warnings.filterwarnings( + "ignore", + category=DeprecationWarning, + message=r".*imp module is deprecated in favour of importlib", + ) if env.PYPY: # pypy3 warns about unclosed files a lot. |