Skip to content

Update pytest to 3.0.6

Chris Spencer requested to merge pyup-update-pytest-3.0.5-to-3.0.6 into master

Created by: pyup-bot

There's a new version of pytest available. You are currently using 3.0.5. I have updated it to 3.0.6

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

Changelog

3.0.6.dev0

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

  • pytest no longer generates PendingDeprecationWarning from its own operations, which was introduced by mistake in version 3.0.5 (2118_). Thanks to nicoddemus_ for the report and RonnyPfannschmidt_ for the PR.
  • pytest no longer recognizes coroutine functions as yield tests (2129_). Thanks to malinoff_ for the PR.
  • Plugins loaded by the PYTEST_PLUGINS environment variable are now automatically considered for assertion rewriting (2185_). Thanks nicoddemus_ for the PR.
  • Improve error message when pytest.warns fails (2150_). The type(s) of the expected warnings and the list of caught warnings is added to the error message. Thanks lesteve_ for the PR.
  • Fix pytester internal plugin to work correctly with latest versions of zope.interface (1989_). Thanks nicoddemus_ for the PR.
  • Assert statements of the pytester plugin again benefit from assertion rewriting (1920_). Thanks RonnyPfannschmidt_ for the report and nicoddemus_ for the PR.
  • Specifying tests with colons like test_foo.py::test_bar for tests in subdirectories with ini configuration files now uses the correct ini file (2148_). Thanks pelme_.
  • Fail testdir.runpytest().assert_outcomes() explicitly if the pytest terminal output it relies on is missing. Thanks to eli-b_ for the PR.

.. _lesteve: https://github.com/lesteve .. _malinoff: https://github.com/malinoff .. _pelme: https://github.com/pelme .. _eli-b: https://github.com/eli-b

.. _2118: https://github.com/pytest-dev/pytest/issues/2118

.. _1989: https://github.com/pytest-dev/pytest/issues/1989 .. _1920: https://github.com/pytest-dev/pytest/issues/1920 .. _2129: https://github.com/pytest-dev/pytest/issues/2129 .. _2148: https://github.com/pytest-dev/pytest/issues/2148 .. _2150: https://github.com/pytest-dev/pytest/issues/2150 .. _2185: https://github.com/pytest-dev/pytest/issues/2185

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

Happy merging! 🤖

Merge request reports