Revisions of python-testfixtures
Dominique Leuenberger (dimstar_suse)
accepted
request 1132550
from
Dirk Mueller (dirkmueller)
(revision 26)
Ana Guerrero (anag+factory)
accepted
request 1129684
from
Steve Kowalik (StevenK)
(revision 25)
- 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.
Dominique Leuenberger (dimstar_suse)
accepted
request 1042863
from
Dirk Mueller (dirkmueller)
(revision 24)
Dominique Leuenberger (dimstar_suse)
accepted
request 1035575
from
Matej Cepl (mcepl)
(revision 23)
- 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.
Fabian Vogt (favogt_factory)
accepted
request 1008127
from
Daniel Garcia (dgarcia)
(revision 22)
- 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.
Dominique Leuenberger (dimstar_suse)
accepted
request 891895
from
Dirk Mueller (dirkmueller)
(revision 18)
- 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.
Dominique Leuenberger (dimstar_suse)
accepted
request 888956
from
Steve Kowalik (StevenK)
(revision 17)
- Add appease-django-320.patch: * Upstream patch to avoid a test failure with building with Django 3.2
Dominique Leuenberger (dimstar_suse)
accepted
request 851911
from
Markéta Machová (mcalabkova)
(revision 15)
Dominique Leuenberger (dimstar_suse)
accepted
request 835017
from
Dirk Mueller (dirkmueller)
(revision 14)
- update to 6.14.2: - Fix bug where ``ignore_eq`` had no effect on nested objects when using :func:`compare` - remove python383.patch (upstream)
Dominique Leuenberger (dimstar_suse)
accepted
request 816634
from
Tomáš Chvátal (scarabeus_iv)
(revision 13)
Dominique Leuenberger (dimstar_suse)
accepted
request 807182
from
Tomáš Chvátal (scarabeus_iv)
(revision 12)
- 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.
Dominique Leuenberger (dimstar_suse)
accepted
request 784177
from
Tomáš Chvátal (scarabeus_iv)
(revision 11)
- Fix build without python2 - 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
Dominique Leuenberger (dimstar_suse)
accepted
request 717575
from
Tomáš Chvátal (scarabeus_iv)
(revision 10)
- Update to 6.10.0: * Better feedback where objects do not :func:`compare` equal but do have the same representation.
Dominique Leuenberger (dimstar_suse)
accepted
request 710324
from
Tomáš Chvátal (scarabeus_iv)
(revision 9)
Dominique Leuenberger (dimstar_suse)
accepted
request 704380
from
Tomáš Chvátal (scarabeus_iv)
(revision 8)
Displaying revisions 1 - 20 of 26