Skip to content

Commit 4e460cd

Browse files
authored
Merge pull request #7773 from nicoddemus/xml-properties-xdist-docs
Warning about record_testsuite_property not working with xdist
2 parents 89305e7 + c4ce5f2 commit 4e460cd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/_pytest/junitxml.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,12 @@ def test_foo(record_testsuite_property):
355355
record_testsuite_property("STORAGE_TYPE", "CEPH")
356356
357357
``name`` must be a string, ``value`` will be converted to a string and properly xml-escaped.
358+
359+
.. warning::
360+
361+
Currently this fixture **does not work** with the
362+
`pytest-xdist <https://github.com/pytest-dev/pytest-xdist>`__ plugin. See issue
363+
`#7767 <https://github.com/pytest-dev/pytest/issues/7767>`__ for details.
358364
"""
359365

360366
__tracebackhide__ = True

0 commit comments

Comments
 (0)