Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates pytest-mock from 3.2.0 to 3.3.0.

Changelog

3.3.0

------------------

* ``pytest-mock`` now includes inline type annotations and exposes them to user programs. The ``mocker`` fixture returns ``pytest_mock.MockerFixture``, which can be used to annotate your tests:

.. code-block:: python

     from pytest_mock import MockerFixture

     def test_foo(mocker: MockerFixture) -> None:
         ...

The type annotations were developed against mypy version ``0.782``, the
minimum version supported at the moment. If you run into an error that you believe to be incorrect, please open an issue.

Many thanks to `staticdev`_ for providing the initial patch (`199`_).

.. _staticdev: https://github.com/staticdev
.. _199: https://github.com/pytest-dev/pytest-mock/pull/199
Links

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #9

@pyup-bot pyup-bot closed this Aug 26, 2020
@leoschuch leoschuch deleted the pyup-update-pytest-mock-3.2.0-to-3.3.0 branch August 26, 2020 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants