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 fa5337b
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

This comment has been minimized.

Copy link
@webknjaz

webknjaz Jan 12, 2022

Author Owner

UPD: certifi is not currently planning to update to using the new APIs so the ignore will have to remain here for a while.

ignore:path is deprecated. Use files.. instead. Refer to https.//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 fa5337b

Please sign in to comment.