Skip to content

Commit

Permalink
Ignore deprecation warnings from pkg_resources
Browse files Browse the repository at this point in the history
  • Loading branch information
matrss committed Aug 24, 2023
1 parent add03a5 commit 50e6e30
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
log_format = %(asctime)s %(levelname)s %(message)s
log_date_format = %Y-%m-%d %H:%M:%S
timeout = 60
filterwarnings =
# These namespaces are declared in a way not conformant with PEP420. Not much we can do about that here, we should keep an eye on when this is fixed in our dependencies though.
ignore:Deprecated call to `pkg_resources.declare_namespace\('(xstatic|xstatic\.pkg|mpl_toolkits|mpl_toolkits\.basemap_data|sphinxcontrib|zope|fs|fs\.opener)'\)`\.:DeprecationWarning
# pkg_resources is explicitly used in fs (PyFilesystem2). Ignore the deprecation warning here.
ignore:pkg_resources is deprecated as an API.:DeprecationWarning

0 comments on commit 50e6e30

Please sign in to comment.