Skip to content

Commit c4ce5f2

Browse files
committed
Warning about record_testsuite_property not working with xdist
Related to #7767
1 parent 9bfd14a commit c4ce5f2

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)