Python Test Framework
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries.
- Devel package for openSUSE:Factory
-
23
derived packages
- Links to openSUSE:Factory / python-pytest
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:python:pytest/python-pytest && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_link | 0000000124 124 Bytes | |
_multibuild | 0000000053 53 Bytes | |
pytest-7.4.0.tar.gz | 0001349733 1.29 MB | |
python-pytest.changes | 0000151832 148 KB | |
python-pytest.spec | 0000005010 4.89 KB |
Revision 122 (latest revision is 137)
Dirk Mueller (dirkmueller)
committed
(revision 122)
- update to 7.4.0: * 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 :hook:`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.
Comments 0