Skip to content

Commit

Permalink
Suppress importlib DeprecationWarning in certifi
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Jan 12, 2022
1 parent 76f6447 commit 3fbb813
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ filterwarnings =
ignore:VendorImporter.find_spec.. not found; falling back to find_module..:ImportWarning
ignore:_SixMetaPathImporter.exec_module.. not found; falling back to load_module..:ImportWarning

# FIXME: drop once certifi fixes their use of `importlib.resources`
# Ref: https://github.com/certifi/python-certifi/issues/183
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

junit_duration_report = call
junit_family = xunit2
junit_suite_name = cheroot_test_suite
Expand Down

0 comments on commit 3fbb813

Please sign in to comment.