diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2022-06-11 06:32:38 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-06-11 06:32:38 -0400 |
| commit | f64cf10b31f1f4d5306c0ddeced3c7b507939066 (patch) | |
| tree | 3e53da60328e55e84ca577420c7e6264641c5596 /tests/conftest.py | |
| parent | f991b3bbdcd51b0689ddb99d8fb9919264c0f2c1 (diff) | |
| download | python-coveragepy-git-f64cf10b31f1f4d5306c0ddeced3c7b507939066.tar.gz | |
test: suppress one more deprecation warning during tests
Diffstat (limited to 'tests/conftest.py')
| -rw-r--r-- | tests/conftest.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 03b51b2c..600ada44 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -47,6 +47,12 @@ def set_warnings(): warnings.filterwarnings( "ignore", + category=DeprecationWarning, + message=r"module 'sre_constants' is deprecated", + ) + + warnings.filterwarnings( + "ignore", category=pytest.PytestRemovedIn8Warning, ) |
