test_ok2/changelog/8447.deprecation.rst

5 lines
281 B
ReStructuredText

Defining a custom pytest node type which is both an item and a collector now issues a warning.
It was never sanely supported and triggers hard to debug errors.
Instead, a separate collector node should be used, which collects the item. See :ref:`non-python tests` for an example.