Skip to content

Commit 687146e

Browse files
authored
Merge pull request #7774 from bluetech/backport-7773
[6.0.x] Warning about record_testsuite_property not working with xdist
2 parents d7d0894 + ae61fa4 commit 687146e

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)