Skip to content

Commit 58091ab

Browse files
committed
#223: Ignore warnings from pytest
1 parent b6ae5bb commit 58091ab

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,14 @@ exclude = '''
1515
)/
1616
)
1717
'''
18+
19+
# Configure pytest.
20+
[tool.pytest.ini_options]
21+
filterwarnings = [
22+
# Ignore deprecation warnings from webob, esmpy and pkg_resources:
23+
"ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning",
24+
"ignore:Implicit None on return values is deprecated:DeprecationWarning",
25+
"ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning",
26+
# Ignore user warnings from pybtex:
27+
"ignore:pkg_resources is deprecated as an API:UserWarning",
28+
]

0 commit comments

Comments
 (0)