Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pytest-mock to 1.7.0 #120

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Contributor

There's a new version of pytest-mock available.
You are currently using 1.5.0. I have updated it to 1.7.0

These links might come in handy: PyPI | Changelog | Repo

Changelog

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: pytest-dev/pytest-mock#96
.. _101: pytest-dev/pytest-mock#101
.. _102: pytest-dev/pytest-mock#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: pytest-dev/pytest-mock#91

1.6.2


  • Provide source package in tar.gz format and remove obsolete MANIFEST.in.

1.6.1


  • Fix mocker.resetall() by ignoring mocker objects which don't have a
    resetall method, like for example patch.dict.
    Thanks jdavisp3_ for the PR (88_).

.. _jdavisp3: https://github.com/jdavisp3

.. _88: pytest-dev/pytest-mock#88

1.6.0


  • The original assertions raised by the various Mock.assert_* methods
    now appear in the failure message, in addition to the message obtained from
    pytest introspection.
    Thanks quodlibetor_ for the initial patch (79_).

.. _quodlibetor: https://github.com/quodlibetor

.. _79: pytest-dev/pytest-mock#79

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 馃

@pyup-bot
Copy link
Contributor Author

pyup-bot commented Mar 1, 2018

Closing this in favor of #122

@pyup-bot pyup-bot closed this Mar 1, 2018
@hyzhak hyzhak deleted the pyup-update-pytest-mock-1.5.0-to-1.7.0 branch March 1, 2018 11:36
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.

None yet

2 participants