Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py-testfixtures: update to 7.2.2. Changes:
7.2.2: - Fix bug in support for :class:`os.PathLike` arguments to :class:`popen.MockPopen`. 7.2.1: - Added missing support for :class:`os.PathLike` arguments to :class:`popen.MockPopen`. 7.2.0: - Add ``order_matters`` parameter to :class:`ShouldWarn`. 7.1.0: - 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. 7.0.4: - Remove `py.typed` file: neither `mypy` nor `testfixtures` are ready for this file to be present. 7.0.3: - Further bugfixes around self-referential datastructures and :func:`compare`. 7.0.2: - 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. 7.0.1: - 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. 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`. :any:`test_date<mock_date>`, :any:`test_datetime <mock_datetime>` and :any:`test_time <mock_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 ``TempDirectory.check``, ``TempDirectory.check_dir`` and ``TempDirectory.check_all`` methods have been removed. 6.18.5: - Fix bug in detection of Mock backport. 6.18.4: - Ensure compatibility with Sybil 2 and Sybil 3 along with pytest 6 and pytest 7. 6.18.3: - Fix bug when using :func:`compare` on two regular expressions that have very long patterns. 6.18.2: - Fix bug that meant :class:`LogCapture` didn't preserve or provide a clean testing environment for filters. 6.18.1: - Fix bug when showing differences between mappings found by :func:`compare` when mismatching values contained the same number more than once. 6.18.0: - Add support for lazy resolution of ``prefix`` and ``suffix`` when using :func:`compare`. 6.17.1: - Fix bug where bug where duplicated entries in an ordered but partial :class:`SequenceComparison` could result in a failed match. 6.17.0: - Add simpler flag support to :class:`StringComparison`. - Fix deprecation warning about invalid escape sequence. 6.16.0: - Simplify and clarify the documentation of timezones when using :any:`test_datetime <mock_datetime>` . - :doc:`api` has been re-arranged to make it easier to browse. - The ``strict`` parameter to :class:`Comparison` has been deprecated in favour of ``partial``. - Add :class:`SequenceComparison`, :class:`Subset` and :class:`Permutation` objects. - Add :class:`MappingComparison` objects. - Officially support Python 3.9.
- Loading branch information