Skip to content

Commit 7f0c2f9

Browse files
committed
Make pytest distro ignore own deprecation warnings
1 parent b11bfd0 commit 7f0c2f9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
[build-system]
22
requires = ["setuptools"]
33
build-backend = "setuptools.build_meta"
4+
5+
[tool.pytest.ini_options]
6+
filterwarnings = [
7+
"error",
8+
"ignore::DeprecationWarning",
9+
'ignore:distro\..*\(\) is deprecated and will be removed in a future version.*',
10+
]

0 commit comments

Comments
 (0)