-
Notifications
You must be signed in to change notification settings - Fork 778
Closed
Description
In the current state, if you run any of the pytest tests locally, you get warning messages like:
/home/ubuntu/.local/lib/python3.8/site-packages/_pytest/junitxml.py:417
/home/ubuntu/.local/lib/python3.8/site-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)
We currently workaround this in CI by always adding a pytest.ini before starting tests (see ros2/ci#471), but it would be nice to get rid of that and just have local and CI work the same.
This is a tracking bug for all of the places we need to change it. Once I've opened the relevant PRs, I'll run one CI job for all of them here.
Metadata
Metadata
Assignees
Labels
No labels