Skip to content

Commit d0c663a

Browse files
authored
Improve warning about incoming change to 'junitxml_family' defa… (#6343)
Improve warning about incoming change to 'junitxml_family' default
2 parents 66c1a12 + f7409f8 commit d0c663a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/_pytest/deprecated.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@
3737

3838
JUNIT_XML_DEFAULT_FAMILY = PytestDeprecationWarning(
3939
"The 'junit_family' default value will change to 'xunit2' in pytest 6.0.\n"
40-
"Add 'junit_family=legacy' to your pytest.ini file to silence this warning and make your suite compatible."
40+
"Add 'junit_family=xunit1' to your pytest.ini file to keep the current format "
41+
"in future versions of pytest and silence this warning."
4142
)

0 commit comments

Comments
 (0)