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.4.0 #36

Merged
merged 1 commit into from
Nov 5, 2016

Conversation

pyup-bot
Copy link
Contributor

@pyup-bot pyup-bot commented Nov 3, 2016

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

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

Changelog

1.4.0


  • New configuration variable, mock_use_standalone_module (defaults to False). This forces
    the plugin to import mock instead of unittest.mock on Python 3. This is useful to import
    and use a newer version than the one available in the Python distribution.
  • Previously the plugin would first try to import mock and fallback to unittest.mock
    in case of an ImportError, but this behavior has been removed because it could hide
    hard to debug import errors (68_).
  • Now mock (Python 2) and unittest.mock (Python 3) are lazy-loaded to make it possible to
    implement the new mock_use_standlone_module configuration option. As a consequence of this
    the undocumented pytest_mock.mock_module variable, which pointed to the actual mock module
    being used by the plugin, has been removed.
  • DEFAULT <https://docs.python.org/3/library/unittest.mock.htmldefault>_ is now available from
    the mocker fixture.

.. _68: pytest-dev/pytest-mock#68

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

Happy merging! 馃

@hyzhak hyzhak temporarily deployed to echostorybot-pr-36 November 3, 2016 18:24 Inactive
@coveralls
Copy link

Coverage Status

Coverage remained the same at 85.714% when pulling 858dece on pyup-update-pytest-mock-1.3.0-to-1.4.0 into fc3fe36 on develop.

@hyzhak hyzhak merged commit 8435301 into develop Nov 5, 2016
@hyzhak hyzhak deleted the pyup-update-pytest-mock-1.3.0-to-1.4.0 branch November 6, 2016 12:03
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

3 participants