Skip to content

Commit 649bc79

Browse files
committed
Add workaround for warning emitted when junitxml is used. Ref pytest-dev/pytest#6178.
1 parent 0df8947 commit 649bc79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pytest.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
norecursedirs=dist build .tox .eggs
33
addopts=--doctest-modules --flake8 --black --cov
44
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
5+
# workaround for warning pytest-dev/pytest#6178
6+
junit_family=xunit2
57
filterwarnings=
68
# https://github.com/pytest-dev/pytest/issues/6928
79
ignore:direct construction of .*Item has been deprecated:DeprecationWarning

0 commit comments

Comments
 (0)