Improve warning about incoming change to 'junitxml_family' default
Fix #6265
This commit is contained in:
parent
66c1a120ba
commit
f7409f8685
|
@ -37,5 +37,6 @@ FIXTURE_POSITIONAL_ARGUMENTS = PytestDeprecationWarning(
|
||||||
|
|
||||||
JUNIT_XML_DEFAULT_FAMILY = PytestDeprecationWarning(
|
JUNIT_XML_DEFAULT_FAMILY = PytestDeprecationWarning(
|
||||||
"The 'junit_family' default value will change to 'xunit2' in pytest 6.0.\n"
|
"The 'junit_family' default value will change to 'xunit2' in pytest 6.0.\n"
|
||||||
"Add 'junit_family=legacy' to your pytest.ini file to silence this warning and make your suite compatible."
|
"Add 'junit_family=xunit1' to your pytest.ini file to keep the current format "
|
||||||
|
"in future versions of pytest and silence this warning."
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue