python-WebODM
python-WebODM copied to clipboard
Update pytest-mock to 1.10.4
This PR updates pytest-mock from 1.6.2 to 1.10.4.
Changelog
1.10.4
------
* Fix plugin when 'terminal' plugin is disabled
1.10.3
------
* Fix test suite in Python 3.8. Thanks `hroncok`_ for the report and `blueyed`_ for the PR (`140`_).
.. _140: https://github.com/pytest-dev/pytest-mock/pull/140
.. _hroncok: https://github.com/hroncok
1.10.2
------
* Fix bug at the end of the test session when a call to ``patch.stopall`` is done explicitly by
user code. Thanks `craiga`_ for the report (`137`_).
.. _137: https://github.com/pytest-dev/pytest-mock/issues/137
.. _craiga: https://github.com/craiga
1.10.1
------
* Fix broken links and update README. Also the code is now formatted using `black <https://github.com/ambv/black>`__.
1.10.0
------
* Add support for the recently added ``assert_called`` method in Python 3.6 and ``mock-2.0``. Thanks `rouge8`_ for the PR (`115`_).
.. _115: https://github.com/pytest-dev/pytest-mock/pull/115
1.9.0
-----
* Add support for the recently added ``assert_called_once`` method in Python 3.6 and ``mock-2.0``. Thanks `rouge8`_ for the PR (`113`_).
.. _113: https://github.com/pytest-dev/pytest-mock/pull/113
1.8.0
-----
* Add aliases for ``NonCallableMock`` and ``create_autospec`` to ``mocker``. Thanks `mlhamel`_ for the PR (`111`_).
.. _111: https://github.com/pytest-dev/pytest-mock/pull/111
1.7.1
-----
* Fix ``setup.py`` to correctly read the ``README.rst``. Thanks `ghisvail`_ for the fix (`107`_).
.. _107: https://github.com/pytest-dev/pytest-mock/issues/107
1.7.0
-----
**Incompatible change**
* ``pytest-mock`` no longer supports Python 2.6 and Python 3.3, following the lead of
``pytest`` and other projects in the community. Thanks `hugovk`_ for the PR (`96`_).
**Packaging**
* Fix ``mock`` requirement in Python 2. Thanks `ghisvail`_ for the report (`101`_).
**Internal**
* Some tests in ``pytest-mock``'s suite are skipped if assertion rewriting is disabled (`102`_).
.. _ghisvail: https://github.com/ghisvail
.. _hugovk: https://github.com/hugovk
.. _96: https://github.com/pytest-dev/pytest-mock/pull/96
.. _101: https://github.com/pytest-dev/pytest-mock/issues/101
.. _102: https://github.com/pytest-dev/pytest-mock/issues/102
1.6.3
-----
* Fix ``UnicodeDecodeError`` during assert introspection in ``assert_called_with`` in Python 2.
Thanks `AndreasHogstrom`_ for the report (`91`_).
.. _AndreasHogstrom: https://github.com/AndreasHogstrom
.. _91: https://github.com/pytest-dev/pytest-mock/issues/91
Links
- PyPI: https://pypi.org/project/pytest-mock
- Changelog: https://pyup.io/changelogs/pytest-mock/
- Repo: https://github.com/pytest-dev/pytest-mock/