Fix deprecated usage of junit test report in pytest #24

Open
opened 2020-07-06 00:13:37 +00:00 by Ghost · 0 comments
Ghost commented 2020-07-06 00:13:37 +00:00 (Migrated from git.maxregan.me)
/usr/local/lib/python3.8/dist-packages/_pytest/junitxml.py:417
  /usr/local/lib/python3.8/dist-packages/_pytest/junitxml.py:417: PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0.
  Add 'junit_family=xunit1' to your pytest.ini file to keep the current format in future versions of pytest and silence this warning.
    _issue_warning_captured(deprecated.JUNIT_XML_DEFAULT_FAMILY, config.hook, 2)
``` /usr/local/lib/python3.8/dist-packages/_pytest/junitxml.py:417 /usr/local/lib/python3.8/dist-packages/_pytest/junitxml.py:417: PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0. Add 'junit_family=xunit1' to your pytest.ini file to keep the current format in future versions of pytest and silence this warning. _issue_warning_captured(deprecated.JUNIT_XML_DEFAULT_FAMILY, config.hook, 2) ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
max/timely-reference#24
No description provided.