Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python311-testfixtures-7.2.2-2.1 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: python311-testfixtures Distribution: openSUSE:Factory:zSystems
Version: 7.2.2 Vendor: openSUSE
Release: 2.1 Build date: Tue Dec 12 21:48:07 2023
Group: Unspecified Build host: s390zl25
Size: 503448 Source RPM: python-testfixtures-7.2.2-2.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!

Provides

Requires

License

MIT

Changelog

* 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.
* Tue Oct 04 2022 Daniel Garcia <daniel.garcia@suse.com>
  - Remove testfixtures-sybil3-py310.patch, it's included in upstream now.
  - Update to 7.0.0
    * Refresh documentation.
    * Add type annotations.
    * Drop support for Python 2. The minimum supported Python version is now 3.6.
    * Sybil 3 is now the minimum supported version if you use
      :class:`~.sybil.FileParser`.
    * Rename and refactor the date and time mocks, they are now :any:`mock_date`,
      :any:`mock_datetime` and :any:`mock_time`. :func:`test_date`,
      :func:`test_datetime` and :func:`test_time` are still present as aliases
      but are now deprecated.
    * Add :meth:`TempDirectory.as_string`, :meth:`TempDirectory.as_path` and
      :meth:`TempDirectory.as_local`. :meth:`TempDirectory.getpath` is now
      deprecated.
    * :class:`TempDirectory` can now be used to wrap existing directories.
    * Fixed a bug where :any:`OutputCapture.captured` returned bytes instead of a
      string with fd=True.
    * The deprecated strict option to :class:`Comparison` has been removed, use
      the partial option instead.
    * The deprecated :meth:`TempDirectory.check`, :meth:`TempDirectory.check_dir`
      and :meth:`TempDirectory.check_all` methods have been removed.
  - 6.18.5 (1 Mar 2022)
    * Fix bug in detection of Mock backport.
  - 6.18.4 (25 Feb 2022)
    * Ensure compatibility with Sybil 2 and Sybil 3 along with pytest 6 and
      pytest 7.
* Sun Dec 26 2021 Ben Greiner <code@bnavigator.de>
  - Replace testfixtures-pr167-sybil3.patch by
    testfixtures-sybil3-py310.patch -- gh#simplistix/testfixtures#167
  - Don't test Django on python36: Django 4 dropped support for
    Python < 3.8
* Tue Dec 21 2021 Ben Greiner <code@bnavigator.de>
  - Add testfixtures-pr167-sybil3.patch
    * gh#simplistix/testfixtures#167
* Thu Oct 07 2021 Ben Greiner <code@bnavigator.de>
  - update to 6.18.3
    * Fix bug when using :func:`compare` on two regular expressions
      that have very long patterns.
    * Fix bug that meant :class:`LogCapture` didn't preserve or
      provide a clean testing environment for filters.
    * Fix bug when showing differences between mappings found by
      :func:`compare` when mismatching values contained the same
      number more than once.
    * Add support for lazy resolution of prefix and suffix when using
      :func:`compare`.
  - Drop appease-django-320.patch merged upstream
  - Drop unresolvable Python 2 build
* Sun May 09 2021 Dirk Müller <dmueller@suse.com>
  - update to 6.17.1
    - Fix bug where bug where duplicated entries in an ordered but partial
      :class:`SequenceComparison` could result in a failed match.
* Wed Apr 28 2021 Steve Kowalik <steven.kowalik@suse.com>
  - Add appease-django-320.patch:
    * Upstream patch to avoid a test failure with building with Django 3.2
* Fri Dec 18 2020 John Vandenberg <jayvdb@gmail.com>
  - update to v6.17.0
    * Add simpler flag support to `StringComparison`.
    * Fix deprecation warning about invalid escape sequence.
  - from v6.16.0
    * Clarify the documentation of timezones when using `test_datetime`
    * :doc:`api` has been re-arranged to make it easier to browse.
    * The strict parameter to `Comparison` has been deprecated
      in favour of partial.
    * Add `SequenceComparison`, `Subset` and `Permutation` objects.
    * Add `MappingComparison` objects.
    * Officially support Python 3.9.
* Sun Nov 29 2020 ecsos <ecsos@opensuse.org>
  - update to 6.15.0:
    - Add support to :class:LogCapture for making sure log entries above a specified level have been checked.
* Wed Sep 16 2020 Dirk Mueller <dmueller@suse.com>
  - update to 6.14.2:
    - Fix bug where ``ignore_eq`` had no effect on nested objects when using :func:`compare`
  - remove python383.patch (upstream)
* Tue Jun 23 2020 Benjamin Greiner <code@bnavigator.de>
  - use local source dir for pytest imports (tests are not installed)
    gh#openSUSE/python-rpm-macros#48
* Tue May 19 2020 Tomáš Chvátal <tchvatal@suse.com>
  - Add patch to fix build with python 3.8.3:
    * python383.patch
  - Update to 6.14.1:
    * Fix bugs in comparison of :func:`~unittest.mock.call` objects where the :func:`repr` of the :func:`~unittest.mock.call` arguments were the same even when their attributes were not.
* Thu Mar 12 2020 Tomáš Chvátal <tchvatal@suse.com>
  - Fix build without python2
* Wed Mar 11 2020 pgajdos@suse.com
  - version update to 6.14.0
    6.14.0 (24 Feb 2020)
    - -------------------
    - Add support for non-deterministic logging order when using :meth:`twisted.LogCapture`.
    6.13.1 (20 Feb 2020)
    - -------------------
    - Fix for using :func:`compare` to compare two-element :func:`~unittest.mock.call`
      objects.
    6.13.0 (18 Feb 2020)
    - -------------------
    - Allow any attributes that need to be ignored to be specified directly when calling
      :func:`~testfixtures.comparison.compare_object`. This is handy when writing
      comparers for :func:`compare`.
    6.12.1 (16 Feb 2020)
    - -------------------
    - Fix a bug that occured when using :func:`compare` to compare a string with a
      slotted object that had the same :func:`repr` as the string.
    6.12.0 (6 Feb 2020)
    - ------------------
    - Add support for ``universal_newlines``, ``text``, ``encoding`` and ``errors`` to
      :class:`popen.MockPopen`, but only for Python 3.
    6.11.0 (29 Jan 2020)
    - -------------------
    - :class:`decimal.Decimal` now has better representation when :func:`compare` displays a failed
      comparison, particularly on Python 2.
    - Add support to :func:`compare` for explicitly naming objects to be compared as ``x`` and ``y``.
      This allows symmetry with the ``x_label`` and ``y_label`` parameters that are now documented.
    - Restore ability for :class:`Comparison` to compare properties and methods, although these uses
      are not recommended.
    6.10.3 (22 Nov 2019)
    - -------------------
    - Fix bug where new-style classes had their attributes checked with :func:`compare` even
      when they were of different types.
    6.10.2 (15 Nov 2019)
    - -------------------
    - Fix bugs in :func:`compare` when comparing objects which have both ``__slots__``
      and a ``__dict__``.
    6.10.1 (1 Nov 2019)
    - ------------------
    - Fix edge case where string interning made dictionary comparison output much less useful.

Files

/usr/lib/python3.11/site-packages/testfixtures
/usr/lib/python3.11/site-packages/testfixtures-7.2.2.dist-info
/usr/lib/python3.11/site-packages/testfixtures-7.2.2.dist-info/INSTALLER
/usr/lib/python3.11/site-packages/testfixtures-7.2.2.dist-info/LICENSE.txt
/usr/lib/python3.11/site-packages/testfixtures-7.2.2.dist-info/METADATA
/usr/lib/python3.11/site-packages/testfixtures-7.2.2.dist-info/RECORD
/usr/lib/python3.11/site-packages/testfixtures-7.2.2.dist-info/REQUESTED
/usr/lib/python3.11/site-packages/testfixtures-7.2.2.dist-info/WHEEL
/usr/lib/python3.11/site-packages/testfixtures-7.2.2.dist-info/top_level.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__/components.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/testfixtures/__pycache__/components.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__/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/components.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/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/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/lib/python3.11/site-packages/testfixtures/version.txt
/usr/share/doc/packages/python311-testfixtures
/usr/share/doc/packages/python311-testfixtures/README.rst
/usr/share/doc/packages/python311-testfixtures/api.txt
/usr/share/doc/packages/python311-testfixtures/changes.txt
/usr/share/doc/packages/python311-testfixtures/comparing.txt
/usr/share/doc/packages/python311-testfixtures/components.txt
/usr/share/doc/packages/python311-testfixtures/datetime.txt
/usr/share/doc/packages/python311-testfixtures/development.txt
/usr/share/doc/packages/python311-testfixtures/django.txt
/usr/share/doc/packages/python311-testfixtures/exceptions.txt
/usr/share/doc/packages/python311-testfixtures/files.txt
/usr/share/doc/packages/python311-testfixtures/index.txt
/usr/share/doc/packages/python311-testfixtures/installation.txt
/usr/share/doc/packages/python311-testfixtures/license.txt
/usr/share/doc/packages/python311-testfixtures/logging.txt
/usr/share/doc/packages/python311-testfixtures/mocking.txt
/usr/share/doc/packages/python311-testfixtures/popen.txt
/usr/share/doc/packages/python311-testfixtures/streams.txt
/usr/share/doc/packages/python311-testfixtures/twisted.txt
/usr/share/doc/packages/python311-testfixtures/utilities.txt
/usr/share/doc/packages/python311-testfixtures/warnings.txt
/usr/share/licenses/python311-testfixtures
/usr/share/licenses/python311-testfixtures/LICENSE.txt


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 12:43:14 2024