Skip to content

pyup.io: Scheduled daily dependency update on friday#65

Closed
pyup-bot wants to merge 2 commits into
masterfrom
pyup/scheduled-update-2018-02-23
Closed

pyup.io: Scheduled daily dependency update on friday#65
pyup-bot wants to merge 2 commits into
masterfrom
pyup/scheduled-update-2018-02-23

Conversation

@pyup-bot

Copy link
Copy Markdown
Contributor

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

pytest 3.4.0 » 3.4.1 PyPI | Changelog | Repo | Homepage
pytest-mock 1.6.3 » 1.7.0 PyPI | Changelog | Repo

Changelogs

pytest 3.4.0 -> 3.4.1

3.4.1

=========================

Bug Fixes

  • Move import of doctest.UnexpectedException to top-level to avoid possible
    errors when using --pdb. (1810 <https://github.com/pytest-dev/pytest/issues/1810>_)
  • Added printing of captured stdout/stderr before entering pdb, and improved a
    test which was giving false negatives about output capturing. (3052 <https://github.com/pytest-dev/pytest/issues/3052>_)
  • Fix ordering of tests using parametrized fixtures which can lead to fixtures
    being created more than necessary. (3161 <https://github.com/pytest-dev/pytest/issues/3161>_)
  • Fix bug where logging happening at hooks outside of "test run" hooks would
    cause an internal error. (3184 <https://github.com/pytest-dev/pytest/issues/3184>_)
  • Detect arguments injected by unittest.mock.patch decorator correctly when
    pypi mock.patch is installed and imported. (3206 <https://github.com/pytest-dev/pytest/issues/3206>_)
  • Errors shown when a pytest.raises() with match= fails are now cleaner
    on what happened: When no exception was raised, the "matching '...'" part got
    removed as it falsely implies that an exception was raised but it didn't
    match. When a wrong exception was raised, it's now thrown (like
    pytest.raised() without match= would) instead of complaining about
    the unmatched text. (3222 <https://github.com/pytest-dev/pytest/issues/3222>_)
  • Fixed output capture handling in doctests on macOS. (985 <https://github.com/pytest-dev/pytest/issues/985>_)

Improved Documentation

  • Add Sphinx parameter docs for match and message args to
    pytest.raises. (3202 <https://github.com/pytest-dev/pytest/issues/3202>_)

Trivial/Internal Changes

  • pytest has changed the publication procedure and is now being published to
    PyPI directly from Travis. (3060 <https://github.com/pytest-dev/pytest/issues/3060>_)
  • Rename ParameterSet._for_parameterize() to _for_parametrize() in
    order to comply with the naming convention. (3166 <https://github.com/pytest-dev/pytest/issues/3166>_)
  • Skip failing pdb/doctest test on mac. (985 <https://github.com/pytest-dev/pytest/issues/985>_)

pytest-mock 1.6.3 -> 1.7.0

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

That's it for now!

Happy merging! 🤖

@pyup-bot

Copy link
Copy Markdown
Contributor Author

Closing this in favor of #66

@pyup-bot pyup-bot closed this Feb 24, 2018
@ahawker ahawker deleted the pyup/scheduled-update-2018-02-23 branch February 24, 2018 12:01
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.

1 participant