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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pytest-mock to 1.7.1 #68

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

pyup-bot
Copy link
Contributor

@pyup-bot pyup-bot commented Mar 1, 2018

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

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

Changelog

1.7.1


  • Fix setup.py to correctly read the README.rst. Thanks ghisvail_ for the fix (107_).

.. _107: pytest-dev/pytest-mock#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: 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! 🤖

@coveralls
Copy link

Coverage Status

Coverage remained the same at 74.096% when pulling 8b78d8c on pyup-update-pytest-mock-1.5.0-to-1.7.1 into 8f22924 on develop.

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