diff options
Diffstat (limited to 'tests/conftest.py')
-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. |