Improve warning about incoming change to 'junitxml_family' default

Fix #6265
This commit is contained in:
Bruno Oliveira 2019-12-13 09:17:12 -03:00
parent 66c1a120ba
commit f7409f8685
1 changed files with 2 additions and 1 deletions

View File

@ -37,5 +37,6 @@ FIXTURE_POSITIONAL_ARGUMENTS = PytestDeprecationWarning(
JUNIT_XML_DEFAULT_FAMILY = PytestDeprecationWarning(
"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."
)