test_ok2/changelog/1265.improvement.rst

2 lines
222 B
ReStructuredText

Added an ``__str__`` implementation to the :class:`~pytest.pytester.LineMatcher` class which is returned from ``pytester.run_pytest().stdout`` and similar. It returns the entire output, like the existing ``str()`` method.