summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-05-09 17:37:15 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-05-09 17:37:15 -0400
commitc4f538a5e165d67146c0c05154ed35d735b85015 (patch)
treec9341558f8a82012e8f7983bc58b0d453efc9a43 /tests/conftest.py
parentaa2d4e565ebcbd23ffb0ffe288c757d00ed16fa7 (diff)
downloadpython-coveragepy-git-c4f538a5e165d67146c0c05154ed35d735b85015.tar.gz
Silence a DeprecationWarning
"DeprecationWarning: Use inspect.signature() instead of inspect.getfullargspec()" This started appearing with Python 3.8a4.
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 d0572dca..8f9053cd 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -35,6 +35,11 @@ def set_warnings():
category=DeprecationWarning,
message="The value of convert_charrefs will become True in 3.5.",
)
+ warnings.filterwarnings(
+ "ignore",
+ category=DeprecationWarning,
+ message=".* instead of inspect.getfullargspec",
+ )
if env.PYPY and env.PY3:
# pypy3 warns about unclosed files a lot.
# pylint: disable=undefined-variable