Skip to content

Commit ae61fa4

Browse files
committed
Merge pull request #7773 from nicoddemus/xml-properties-xdist-docs
Warning about record_testsuite_property not working with xdist (cherry picked from commit 4e460cd)
1 parent d7d0894 commit ae61fa4

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
@@ -377,6 +377,12 @@ def test_foo(record_testsuite_property):
377377
record_testsuite_property("STORAGE_TYPE", "CEPH")
378378
379379
``name`` must be a string, ``value`` will be converted to a string and properly xml-escaped.
380+
381+
.. warning::
382+
383+
Currently this fixture **does not work** with the
384+
`pytest-xdist <https://github.com/pytest-dev/pytest-xdist>`__ plugin. See issue
385+
`#7767 <https://github.com/pytest-dev/pytest/issues/7767>`__ for details.
380386
"""
381387

382388
__tracebackhide__ = True

0 commit comments

Comments
 (0)