14
0

64 Commits

Author SHA256 Message Date
e7d2aefea0 Accepting request 1204915 from devel:languages:python
- Make Django build-requirement conditional and disable by default for
  SUSE:SLFO:Main, bsc#1231124

OBS-URL: https://build.opensuse.org/request/show/1204915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=29
2024-10-02 19:32:38 +00:00
ccd31abce4 - Make Django build-requirement conditional and disable by default for
SUSE:SLFO:Main, bsc#1231124

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=60
2024-10-01 11:13:51 +00:00
1d3c0756f9 Accepting request 1203766 from devel:languages:python
- Add patch support-python-313.patch:
  * Support Python 3.13 AttributeError message changes.

- 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.

OBS-URL: https://build.opensuse.org/request/show/1203766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=28
2024-09-29 16:09:04 +00:00
bda7ca83e5 - Add patch support-python-313.patch:
* Support Python 3.13 AttributeError message changes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=58
2024-09-26 04:57:18 +00:00
49dfad6286 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=57
2024-06-30 08:18:17 +00:00
0175f63bf3 Accepting request 1172638 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1172638
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=27
2024-06-14 16:59:08 +00:00
5eb319e9e2 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=55
2024-05-08 06:10:52 +00:00
97a3ec2ff8 Accepting request 1132550 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1132550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=26
2023-12-12 18:31:42 +00:00
325f37f7e2 Accepting request 1132526 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1132526
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=53
2023-12-11 19:10:38 +00:00
53d0b43e4c Accepting request 1129684 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1129684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=25
2023-11-30 20:59:03 +00:00
0ab8575b0a - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=51
2023-11-29 01:51:20 +00:00
53082cacbc Accepting request 1042863 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1042863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=24
2022-12-15 18:24:02 +00:00
633db39ac2 Accepting request 1042760 from home:yarunachalam:branches:devel:languages:python
- Update to 7.0.4 
  * Remove py.typed file: neither mypy nor testfixtures are ready for this file to be present.

OBS-URL: https://build.opensuse.org/request/show/1042760
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=49
2022-12-14 10:06:15 +00:00
4411f9dade Accepting request 1035575 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1035575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=23
2022-11-15 12:18:12 +00:00
5152578d55 Clean up SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=47
2022-11-14 07:53:31 +00:00
8b0779023e Accepting request 1034933 from home:yarunachalam:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1034933
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=46
2022-11-14 07:52:57 +00:00
18e593ac73 Accepting request 1008127 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1008127
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=22
2022-10-10 16:44:02 +00:00
524ac7fbe0 - Fix patch filename in changes it's testfixtures-sybil3-py310.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=44
2022-10-05 07:54:17 +00:00
4429019c41 - Remove testfixtures-pr167-sybil3.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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=43
2022-10-04 15:34:15 +00:00
984ecfcbb3 Accepting request 942857 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/942857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=21
2021-12-29 20:10:39 +00:00
e7df2a47b0 Accepting request 942771 from home:bnavigator:py310
- 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

OBS-URL: https://build.opensuse.org/request/show/942771
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=42
2021-12-28 00:49:40 +00:00
cf0a50bd39 Accepting request 942014 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/942014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=20
2021-12-23 16:53:26 +00:00
f28cb41fe3 Accepting request 941916 from home:bnavigator:branches:devel:languages:python
- Add testfixtures-pr167-sybil3.patch
  * gh#simplistix/testfixtures#167

OBS-URL: https://build.opensuse.org/request/show/941916
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=41
2021-12-21 23:20:08 +00:00
e183170140 Accepting request 924047 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/924047
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=19
2021-10-20 18:23:17 +00:00
03a239722a Accepting request 923887 from home:bnavigator:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/923887
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=40
2021-10-07 15:52:08 +00:00
3c539dc19c Accepting request 891895 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/891895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=18
2021-05-12 17:31:20 +00:00
0f368f4e9f - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=38
2021-05-09 17:11:57 +00:00
2c6e477710 Accepting request 888956 from devel:languages:python
- Add appease-django-320.patch:
  * Upstream patch to avoid a test failure with building with Django 3.2

OBS-URL: https://build.opensuse.org/request/show/888956
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=17
2021-04-29 20:44:43 +00:00
4e7ef42769 - Add appease-django-320.patch:
* Upstream patch to avoid a test failure with building with Django 3.2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=36
2021-04-28 07:51:06 +00:00
8d5b3bc930 - Skip a test that has some fundamental disagreements with Django 3.2.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=35
2021-04-28 06:51:54 +00:00
e5c67c8e20 Accepting request 857036 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/857036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=16
2020-12-23 13:19:00 +00:00
36daf44bbf Accepting request 856939 from home:jayvdb:branches:devel:languages:python
- update to v6.17.0

OBS-URL: https://build.opensuse.org/request/show/856939
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=33
2020-12-19 20:54:31 +00:00
8458ecf5eb Accepting request 851911 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/851911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=15
2020-12-03 17:40:45 +00:00
13017a3db7 Accepting request 851691 from home:ecsos:server
- update to 6.15.0:
  - Add support to :class:LogCapture for making sure log entries above a specified level have been checked.

OBS-URL: https://build.opensuse.org/request/show/851691
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=31
2020-11-30 16:14:59 +00:00
a18bb680e2 Accepting request 835017 from devel:languages:python
- update to 6.14.2:
  - Fix bug where ``ignore_eq`` had no effect on nested objects when using :func:`compare`
- remove python383.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/835017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=14
2020-10-29 08:45:23 +00:00
8fd69a846a - update to 6.14.2:
- Fix bug where ``ignore_eq`` had no effect on nested objects when using :func:`compare`
- remove python383.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=29
2020-09-16 21:32:00 +00:00
0043605b1d Accepting request 816634 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/816634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=13
2020-06-26 19:43:58 +00:00
Tomáš Chvátal
d18f942f27 Accepting request 816624 from home:bnavigator:branches:devel:languages:python
- use local source dir for pytest imports (tests are not installed)
  gh#openSUSE/python-rpm-macros#48

OBS-URL: https://build.opensuse.org/request/show/816624
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=27
2020-06-23 16:47:41 +00:00
4c18def873 Accepting request 807182 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/807182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=12
2020-05-20 16:36:19 +00:00
Tomáš Chvátal
20b5a82685 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=25
2020-05-19 10:22:56 +00:00
c4312198a4 Accepting request 784177 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/784177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=11
2020-03-26 23:21:36 +00:00
Tomáš Chvátal
7c8c779822 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=23
2020-03-12 08:05:40 +00:00
Tomáš Chvátal
3be1047f71 Accepting request 783805 from home:pgajdos:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/783805
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=22
2020-03-11 12:48:53 +00:00
6376bd8196 Accepting request 717575 from devel:languages:python
- Update to 6.10.0:
  * Better feedback where objects do not :func:`compare` equal but do have the same representation.

OBS-URL: https://build.opensuse.org/request/show/717575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=10
2019-07-22 15:19:50 +00:00
Tomáš Chvátal
fcff314366 - Update to 6.10.0:
* Better feedback where objects do not :func:`compare` equal but do have the same representation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=20
2019-07-22 12:43:39 +00:00
c530fe3247 Accepting request 710324 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/710324
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=9
2019-06-18 12:57:59 +00:00
Tomáš Chvátal
1b2d006e22 Accepting request 710320 from home:pgajdos
- version update to 6.9.0
  - Fix deprecation warning relating to :func:`getargspec`.
  - Improve :doc:`mocking <mocking>` docs.
  - Add ``strip_whitespace`` option to :class:`OutputCapture`.
  - When ``separate`` is used with :class:`OutputCapture`, differences in ``stdout` and ``stderr``
    are now given in the same :class:`AssertionError`.
  - :class:`ShouldRaise` no longer catches exceptions that are not of the required type.
  - Fixed a problem that resulted in unhelpful :func:`compare` failures when
    :func:`~unittest.mock.call` was involved and Python 3.6.7 was used.

OBS-URL: https://build.opensuse.org/request/show/710320
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=18
2019-06-17 10:31:24 +00:00
f83d3ade71 Accepting request 704380 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/704380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=8
2019-05-22 09:15:33 +00:00
Tomáš Chvátal
ba624ef788 Accepting request 704378 from home:pgajdos
- version update to 6.8.2
  * Fix handling of the latest releases of the :mod:`mock` backport.
  * Fix bogus import in :class:`OutputCapture`.
  * Allow :class:`OutputCapture` to capture the underlying file descriptors for
    :attr:`sys.stdout` and :attr:`sys.stderr`.
  * Silence :class:`DeprecationWarning` relating to ``collections.abc`` on
    Python 3.7.

OBS-URL: https://build.opensuse.org/request/show/704378
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=16
2019-05-21 08:26:53 +00:00
d2e30a1c01 Accepting request 696466 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/696466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testfixtures?expand=0&rev=7
2019-04-22 10:26:23 +00:00