Revisions of python-pytest
buildservice-autocommit
accepted
request 1147604
from
Matej Cepl (mcepl)
(revision 135)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 1147534
from
Dan Čermák (dancermak)
(revision 134)
Add python version constraints to Requires & BuildRequires
buildservice-autocommit
accepted
request 1136073
from
Dirk Mueller (dirkmueller)
(revision 133)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 132)
- update to 7.4.4: * Fix non-string constants at the top of file being detected as docstrings on Python>=3.8. * Handle an edge case where :data:`sys.stderr` and :data:`sys.__stderr__` might already be closed when :ref:`faulthandler` is tearing down. * Fixed tracebacks from collection errors not getting pruned. * Removed unhelpful error message from assertion rewrite mechanism when exceptions are raised in ``__iter__`` methods. Now they are treated un-iterable instead.
buildservice-autocommit
accepted
request 1123974
from
Dirk Mueller (dirkmueller)
(revision 131)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 130)
- update to 7.4.3: * Markers are now considered in the reverse mro order to ensure base class markers are considered first -- this resolves a regression. * Fixed ``:=`` in asserts impacting unrelated test cases. * Handled an edge case where :data:`sys.stderr` might already be closed when :ref:`faulthandler` is tearing down.
buildservice-autocommit
accepted
request 1117662
from
Matej Cepl (mcepl)
(revision 129)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 1117634
from
Frederic Crozat (fcrozat)
(revision 128)
in OBS. bsc#1212229
buildservice-autocommit
accepted
request 1112015
from
Dirk Mueller (dirkmueller)
(revision 127)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 126)
- update to 7.4.2: * Fix doctest collection of `functools.cached_property` objects. * Fixed bug using ``--importmode=importlib`` which would cause package ``__init__.py`` files to be imported more than once in some cases. * Fixed bug where `user_properties` where not being saved in the JUnit XML file if a fixture failed during teardown. * Fixed crash when parsing long command line arguments that might be interpreted as files. * Improved Documentation * Improved disclaimer on pytest plugin reference page to better indicate this is an automated, non-curated listing. - drop fix-test-raising-repr.patch, fix-tests-pygments-2.14.0.patch: https://docs.pytest.org/en/7.1.x/changelog.html for details assert actual == pytest.approx(expected) * pytest used to create directories under /tmp with world-readable permissions. This means that any user in the system was able to read information written by tests in temporary directories (such as those created by the tmp_path/tmpdir fixture). Now the * #8152: Fixed "(<Skipped instance>)" being shown as a skip reason in the * #8249: Fix the faulthandler plugin for occasions when running with * The @pytest.yield_fixture decorator/function is now deprecated. * Verbose mode now shows the reason that a test was skipped in the * pytest now warns about unraisable exceptions and unhandled thread * New pytester fixture, which is identical to testdir but its methods * It is now possible to construct a MonkeyPatch object directly as pytest.MonkeyPatch(),
buildservice-autocommit
accepted
request 1111052
from
Factory Maintainer (factory-maintainer)
(revision 125)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 124)
- update to 7.4.1: * Fixed bug where fake intermediate modules generated by ``--import-mode=importlib`` would not include the child modules as attributes of the parent modules. * Fixed error assertion handling in :func:`pytest.approx` when ``None`` is an expected or received value when comparing dictionaries. * Fixed issue when using ``--import-mode=importlib`` together with ``--doctest- modules`` that caused modules to be imported more than once, causing problems with modules that have import side effects.
buildservice-autocommit
accepted
request 1100056
from
Factory Maintainer (factory-maintainer)
(revision 123)
baserev update by copy to link target
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.
buildservice-autocommit
accepted
request 1093826
from
Dirk Mueller (dirkmueller)
(revision 121)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 120)
- update to 7.3.2: * Fix bug where very long option names could cause pytest to break with ``OSError: [Errno 36] File name too long`` on some systems. * Support for Python 3.12 * honored to load root ``conftests``. * The `monkeypatch` `setitem`/`delitem` type annotations now allow `TypedDict` arguments. * Fixed bug in assertion rewriting where a variable assigned with the walrus operator could not be used later in a function call. * Fixed ``--last-failed``'s "(skipped N files)" functionality for files inside of packages (directories with `__init__.py` files).
buildservice-autocommit
accepted
request 1092827
from
Daniel Garcia (dgarcia)
(revision 119)
baserev update by copy to link target
Daniel Garcia (dgarcia)
committed
(revision 118)
- Disable tests that uses pexpect to avoid timeout error when running in OBS.
buildservice-autocommit
accepted
request 1084940
from
Dirk Mueller (dirkmueller)
(revision 117)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 116)
Displaying revisions 1 - 20 of 135