The Hypothesis pytest plugin was not outputting valid xunit2 nodes
when "--junit-xml" was specified. This has been broken since Pytest
5.4, which changed the internal API for adding nodes to the junit
report.
This also fixes the issue when using hypothesis with "--junit-xml" and
"pytest-xdist" where the junit xml report would not be xunit2
compatible. Now, when using with "pytest-xdist", the junit report will
just omit the "" node.
For more details, see this pytest issue, this pytest issue, and issue
#1935
Thanks to Brandon Chinn for this bug fix!
The canonical version of these notes (with links) is on readthedocs.