* Added :func:`ExceptionInfo.from_exception() <pytest.ExceptionInfo.from_exception>`, a simpler way to create an :class:`~pytest.ExceptionInfo` from an exception. This can replace :func:`ExceptionInfo.from_exc_info() <pytest.ExceptionInfo.from_exc_info()>` for most uses. * Update test log report annotation to named tuple and fixed inconsistency in docs for 🪝`pytest_report_teststatus` hook. * When an exception traceback to be displayed is completely filtered out (by mechanisms such as ``__tracebackhide__``, internal frames, and similar), now only the exception string and the following message are shown: "All traceback entries are hidden. Pass `--full-trace` to see hidden and internal frames.". * Improved verbose output (``-vv``) of ``skip`` and ``xfail`` reasons by performing text wrapping while leaving a clear margin for progress output. * Added ``TerminalReporter.wrap_write()`` as a helper for that. * Added handling of ``%f`` directive to print microseconds in log format options, such as ``log-date-format``. * Added the underlying exception to the cache provider's path creation and write warning messages. * Added warning when :confval:`testpaths` is set, but paths are not found by glob. In this case, pytest will fall back to searching from the current directory. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=122 |
||
---|---|---|
_multibuild | ||
.gitattributes | ||
.gitignore | ||
pytest-7.4.0.tar.gz | ||
python-pytest.changes | ||
python-pytest.spec |