| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: python311-testfixtures | Distribution: openSUSE Tumbleweed |
| Version: 11.0.0 | Vendor: openSUSE |
| Release: 1.1 | Build date: Mon Apr 13 00:12:03 2026 |
| Group: Unspecified | Build host: reproducible |
| Size: 660766 | Source RPM: python-testfixtures-11.0.0-1.1.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: https://github.com/Simplistix/testfixtures | |
| Summary: A collection of helpers and mock objects for unit tests and doc tests | |
TestFixtures is a collection of helpers and mock objects that are useful when writing unit tests or doc tests. If you're wondering why "yet another mock object library", testing is often described as an art form and as such some styles of library will suit some people while others will suit other styles. This library contains common test fixtures the author found himself repeating from package to package and so decided to extract them into their own library and give them some tests of their own!
MIT
* Sun Apr 12 2026 Dirk Müller <dmueller@suse.com>
- 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.
* :class:`ShouldRaise` now has a match parameter to bring
feature parity with :func:`pytest.raises`.
* :class:`Comparison` now shows the wrong type when it is
compared against a wrong type.
* :class:`Comparison` no longer spuriously reports
:class:`~testfixtures.comparison.AlreadySeen` as the wrong
type.
* Fixed a bug where comparing parameterised generic type
objects resulted in an infinite loop.
* Fixed a bug in the warning issued when a :class:`Replacer` is
deleted with replacements still in place.
* Reworked :func:`compare` options so that typos and the like
will now result in an exception being raised. This ended up
being a breaking change if you use custom comparers that take
options as this now has a :ref:`different API <custom-
comparer-options>`.
* Reworked the :doc:`compare documentation <comparing>` to
explain why you should be using it as well as updating the
examples and explaining more fully how to configure and
customise it.
* Implement :func:`like`, :func:`sequence`, :func:`contains`,
:func:`unordered` for strictly typed :ref:`comparisons
<comparison-objects>`.
* Correctly type :attr:`ShouldRaise.raised`.
* Add support for passing :class:`StringComparison` instances
as parameters to :meth:`OutputCapture.compare`.
* :attr:`ShouldRaise.raised` is now always an exception
instance. If no exception has been raised, it will be a
:class:`~testfixtures.shouldraise.NoException` instance. This
prevents typing complaints around using an attribute that
might be None.
* :func:`mock_time` has been reworked to return an instance of
:class:`~testfixtures.datetime.MockTime` rather than the
class itself. :class:`~testfixtures.datetime.MockTime` has
also been reworked such that it can no longer be instantiated
with the same parameters as :class:`~datetime.datetime` -
this edge case was never supported, but is highlighted here
in case folks were using it.
* Python 3.11 is now the minimum supported version.
* A show_whitespace parameter has been added to
:class:`ShouldAssert`.
* testfixtures is now fully typed, checked with mypy and is
distributed with a py.typed marker file.
- drop support-python-313.patch (upstream)
* Wed Feb 25 2026 Markéta Machová <mmachova@suse.com>
- Fix the condition with suse_version macro on SLFO (jsc#PED-15848)
* Tue Oct 01 2024 Daniel Garcia <daniel.garcia@suse.com>
- Make Django build-requirement conditional and disable by default for
SUSE:SLFO:Main, bsc#1231124
* Thu Sep 26 2024 Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-python-313.patch:
* Support Python 3.13 AttributeError message changes.
* Sun Jun 30 2024 Dirk Müller <dmueller@suse.com>
- update to 8.3.0:
* :class:`ShouldRaise` now supports :class:`ExceptionGroup`.
* Fixed bug where
:func:`~testfixtures.comparison.compare_generator` did not
respect strict=True.
* Fixed bug in the type annotations for :class:`ShouldRaise`
and :func:`~testfixtures.comparison.compare_exception`.
* :class:`LogCapture` will now raise an exception if closed
while still installed. This can be a source of particularly
confusing bugs.
* Wed May 08 2024 Steve Kowalik <steven.kowalik@suse.com>
- Update to 8.2.0:
* The strict option is now correctly respected when comparing nested
objects.
* When comparing datetime.datetime or datetime.time instances, if the fold
is the only thing that's different, it's now shown in the output.
* A more detailed exception is now raised when resolving a replacement
doesn't give what's expected.
* Replacement of methods on instances is now prevented when strict=True.
* An exception is now raised when mocking and the original is not in the
__dict__ of its containing objects.
* Fix bug where replacement of methods on subclasses failed when using
Replacer.on_class.
* Implement strict comparison as an option for datetime.datetime
and datetime.time.
* Retire zope.component helpers.
* Support bytes in popen.MockPopen commands.
* Allow TempDirectory instances to be traversed as pathlib.Path objects.
* Use the system default encoding where possible in TempDirectory.
* Add TempDirectory option to manage current working directory.
* Allow string class attributes to be replaced with Replacer and friends.
* Fix nasty bug meaning some Replacer.on_class and Replacer.in_module
replacements weren't restored.
* Allow an alternative separator to be used for traversal during replacement
with Replacer and friends.
* Officially support Python 3.12.
* Drop support Python 3.6.
- Add multibuild to break a cycle.
- Drop patch path-comparsion-312.patch, included upstream.
* Mon Dec 11 2023 ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
* Wed Nov 29 2023 Steve Kowalik <steven.kowalik@suse.com>
- Update to 7.2.2:
* Fix bug in support for :class:`os.PathLike` arguments to
:class:`popen.MockPopen`.
* Added missing support for :class:`os.PathLike` arguments to
:class:`popen.MockPopen`.
* Add ``order_matters`` parameter to :class:`ShouldWarn`.
* Implement new IDE and static-analysis ways of :doc:`mocking <mocking>`
including additional parameters to :meth:`~Replacer.replace` along with
the :any:`replace_on_class`, :any:`replace_in_module` and
:any:`replace_in_environ` context managers.
- Add patch path-comparsion-312.patch:
* Compare paths string-wise, due to Python 3.12 changes.
- Switch to autosetup and pyproject macros.
- Remove now unneeded Python 3.6 special-casing.
* Tue Dec 13 2022 Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 7.0.4
* Remove py.typed file: neither mypy nor testfixtures are ready for this file to be present.
* Wed Nov 09 2022 Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 7.0.3 (3 Nov 2022)
* Further bugfixes around self-referential datastructures and :func:`compare`.
- Update to 7.0.2 (1 Nov 2022)
* Reinstate support for self-referential data structures in :func:`compare`. The new implementation provides more clarity about
what's going on and also ignores more immutable data types.
- Update to 7.0.1 (1 Nov 2022)
* Remove non-functional support for self-referential data structures in :func:`compare`. The functionality didn't work but did cause
erroneous reported equality of values in dictionaries that were actually not equal.
/usr/lib/python3.11/site-packages/testfixtures /usr/lib/python3.11/site-packages/testfixtures-11.0.0.dist-info /usr/lib/python3.11/site-packages/testfixtures-11.0.0.dist-info/INSTALLER /usr/lib/python3.11/site-packages/testfixtures-11.0.0.dist-info/METADATA /usr/lib/python3.11/site-packages/testfixtures-11.0.0.dist-info/RECORD /usr/lib/python3.11/site-packages/testfixtures-11.0.0.dist-info/REQUESTED /usr/lib/python3.11/site-packages/testfixtures-11.0.0.dist-info/WHEEL /usr/lib/python3.11/site-packages/testfixtures-11.0.0.dist-info/licenses /usr/lib/python3.11/site-packages/testfixtures-11.0.0.dist-info/licenses/LICENSE.txt /usr/lib/python3.11/site-packages/testfixtures/__init__.py /usr/lib/python3.11/site-packages/testfixtures/__pycache__ /usr/lib/python3.11/site-packages/testfixtures/__pycache__/__init__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/__init__.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/comparison.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/comparison.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/compat.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/compat.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/datetime.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/datetime.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/django.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/django.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/formats.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/formats.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/logcapture.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/logcapture.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/mock.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/mock.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/outputcapture.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/outputcapture.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/popen.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/popen.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/replace.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/replace.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/resolve.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/resolve.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/rmtree.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/rmtree.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/shouldraise.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/shouldraise.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/shouldwarn.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/shouldwarn.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/sybil.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/sybil.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/tempdirectory.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/tempdirectory.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/twisted.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/twisted.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/utils.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/testfixtures/__pycache__/utils.cpython-311.pyc /usr/lib/python3.11/site-packages/testfixtures/comparison.py /usr/lib/python3.11/site-packages/testfixtures/compat.py /usr/lib/python3.11/site-packages/testfixtures/datetime.py /usr/lib/python3.11/site-packages/testfixtures/django.py /usr/lib/python3.11/site-packages/testfixtures/formats.py /usr/lib/python3.11/site-packages/testfixtures/logcapture.py /usr/lib/python3.11/site-packages/testfixtures/mock.py /usr/lib/python3.11/site-packages/testfixtures/outputcapture.py /usr/lib/python3.11/site-packages/testfixtures/popen.py /usr/lib/python3.11/site-packages/testfixtures/py.typed /usr/lib/python3.11/site-packages/testfixtures/replace.py /usr/lib/python3.11/site-packages/testfixtures/resolve.py /usr/lib/python3.11/site-packages/testfixtures/rmtree.py /usr/lib/python3.11/site-packages/testfixtures/shouldraise.py /usr/lib/python3.11/site-packages/testfixtures/shouldwarn.py /usr/lib/python3.11/site-packages/testfixtures/sybil.py /usr/lib/python3.11/site-packages/testfixtures/tempdirectory.py /usr/lib/python3.11/site-packages/testfixtures/twisted.py /usr/lib/python3.11/site-packages/testfixtures/utils.py /usr/share/doc/packages/python311-testfixtures /usr/share/doc/packages/python311-testfixtures/CHANGELOG.rst /usr/share/doc/packages/python311-testfixtures/README.rst /usr/share/doc/packages/python311-testfixtures/api.rst /usr/share/doc/packages/python311-testfixtures/changes.rst /usr/share/doc/packages/python311-testfixtures/comparing.rst /usr/share/doc/packages/python311-testfixtures/datetime.rst /usr/share/doc/packages/python311-testfixtures/development.rst /usr/share/doc/packages/python311-testfixtures/django.rst /usr/share/doc/packages/python311-testfixtures/exceptions.rst /usr/share/doc/packages/python311-testfixtures/files.rst /usr/share/doc/packages/python311-testfixtures/index.rst /usr/share/doc/packages/python311-testfixtures/installation.rst /usr/share/doc/packages/python311-testfixtures/license.rst /usr/share/doc/packages/python311-testfixtures/logging.rst /usr/share/doc/packages/python311-testfixtures/mocking.rst /usr/share/doc/packages/python311-testfixtures/popen.rst /usr/share/doc/packages/python311-testfixtures/streams.rst /usr/share/doc/packages/python311-testfixtures/twisted.rst /usr/share/doc/packages/python311-testfixtures/utilities.rst /usr/share/doc/packages/python311-testfixtures/warnings.rst /usr/share/licenses/python311-testfixtures /usr/share/licenses/python311-testfixtures/LICENSE.txt
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Apr 15 22:19:30 2026