- update to 11.0.0:
* Moved to a uv-based, pyproject.toml-driven project layout,
with main replacing master as the default git branch.
* Move from Circle CI to Github Actions for continuous
integration and releasing.
* Lots of documentation has been refreshed.
* Python versions between 3.11 and 3.14, inclusive, are now
supported.
* Python versions 3.10 and earlier are no longer supported.
* :class:`TempDir` is now introduced as a
:class:`~pathlib.Path`-based alternative to
:class:`TempDirectory`.
* :class:`TempDir` and :class:`TempDirectory` have grown
support for dumping and parsing JSON, YAML and TOML natively
by way of the :meth:`~TempDir.dump` and :meth:`TempDir.parse`
methods.
* :class:`TempDir` and :class:`TempDirectory` now have
:meth:`~TempDir.read_text` and :meth:`TempDir.read_bytes`
methods that mirror the behaviour of their
:class:`~pathlib.Path` equivalents.
* :class:`TempDir` and :class:`TempDirectory` now support
:class:`~pathlib.Path` objects anywhere they previously
supported string and sequences of strings.
* :class:`TempDir` and :class:`TempDirectory` now have a
:meth:`~TempDir.clone` method for copying existing files or
directories into themselves for using during testing.
* None can now be passed to :class:`ShouldRaise` to check that
no exception is raised. This is useful for parameterised
tests where some cases may expect an exception to be raised
while others do not.
OBS-URL: https://build.opensuse.org/request/show/1346393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=31
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=65
Description
No description provided
Languages
RPM Spec
100%