summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 23d6b213..9189aa5c 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -63,6 +63,11 @@ def set_warnings():
message=r".*imp module is deprecated in favour of importlib",
)
+ warnings.filterwarnings(
+ "ignore",
+ category=pytest.PytestRemovedIn8Warning,
+ )
+
if env.PYPY:
# pypy3 warns about unclosed files a lot.
warnings.filterwarnings("ignore", r".*unclosed file", category=ResourceWarning)