Skip to content

Commit 3fbb813

Browse files
committed
Suppress importlib DeprecationWarning in certifi
Ref: certifi/python-certifi#183
1 parent 76f6447 commit 3fbb813

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pytest.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ filterwarnings =
6161
ignore:VendorImporter.find_spec.. not found; falling back to find_module..:ImportWarning
6262
ignore:_SixMetaPathImporter.exec_module.. not found; falling back to load_module..:ImportWarning
6363

64+
# FIXME: drop once certifi fixes their use of `importlib.resources`
65+
# Ref: https://github.com/certifi/python-certifi/issues/183
66+
ignore:path is deprecated. Use files() instead. Refer to importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.:DeprecationWarning:certifi.core
67+
6468
junit_duration_report = call
6569
junit_family = xunit2
6670
junit_suite_name = cheroot_test_suite

0 commit comments

Comments
 (0)