summaryrefslogtreecommitdiff
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-01-04 12:41:08 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-01-04 12:41:08 -0500
commit163e6c91c20931092f9ba60a627f9e20599e63cf (patch)
treea419103679903405d28852169c1351865b2c5db8 /tests/conftest.py
parent69af2a71929c60f31f629b36b180a86df5ca0564 (diff)
downloadpython-coveragepy-git-163e6c91c20931092f9ba60a627f9e20599e63cf.tar.gz
build: adjust the warning suppressions we need
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 23d6b213..16999d96 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -39,24 +39,6 @@ def set_warnings():
# Warnings to suppress:
# How come these warnings are successfully suppressed here, but not in setup.cfg??
- # <frozen importlib._bootstrap>:681:
- # ImportWarning: VendorImporter.exec_module() not found; falling back to load_module()
- warnings.filterwarnings(
- "ignore",
- category=ImportWarning,
- message=r".*exec_module\(\) not found; falling back to load_module\(\)",
- )
- # <frozen importlib._bootstrap>:908:
- # ImportWarning: AssertionRewritingHook.find_spec() not found; falling back to find_module()
- # <frozen importlib._bootstrap>:908:
- # ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()
- # <frozen importlib._bootstrap>:908:
- # ImportWarning: VendorImporter.find_spec() not found; falling back to find_module()
- warnings.filterwarnings(
- "ignore",
- category=ImportWarning,
- message=r".*find_spec\(\) not found; falling back to find_module\(\)",
- )
warnings.filterwarnings(
"ignore",
category=DeprecationWarning,