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

[Doppins] Upgrade dependency pytest to ==5.1.1 #236

Closed
wants to merge 1 commit into from

Conversation

doppins-bot
Copy link
Contributor

Hi!

A new version was just released of pytest, so Doppins
has upgraded your project's dependency ranges.

Make sure that it doesn't break anything, and happy merging! :shipit:


Upgraded pytest from ==3.2.3 to ==5.1.1

Changelog:

Version 5.1.1

pytest 5.1.1 (2019-08-20)

Bug Fixes

Version 5.1.0

pytest 5.1.0 (2019-08-15)

Removals

  • `#5180 (https://github.com/pytest-dev/pytest/issues/5180`): As per
    our policy, the following features have been deprecated in the 4.X
    series and are now removed:

    • Request.getfuncargvalue: use Request.getfixturevalue
      instead.
    • pytest.raises and pytest.warns no longer support strings as
      the second argument.
    • message parameter of pytest.raises.
    • pytest.raises, pytest.warns and ParameterSet.param now use
      native keyword-only syntax. This might change the exception
      message from previous versions, but they still raise TypeError
      on unknown keyword arguments as before.
    • pytest.config global variable.
    • tmpdir_factory.ensuretemp method.
    • pytest_logwarning hook.
    • RemovedInPytest4Warning warning type.
    • request is now a reserved name for fixtures.

    For more information consult Deprecations and
    Removals
    in
    the docs.

  • `#5565 (https://github.com/pytest-dev/pytest/issues/5565`): Removed
    unused support code for
    unittest2.

    The unittest2 backport module is no longer necessary since Python
    3.3+, and the small amount of code in pytest to support it also
    doesn't seem to be used: after removed, all tests still pass
    unchanged.

    Although our policy is to introduce a deprecation period before
    removing any features or support for third party libraries, because
    this code is apparently not used at all (even if unittest2 is used
    by a test suite executed by pytest), it was decided to remove it in
    this release.

    If you experience a regression because of this, please file an
    issue.

  • `#5615 (https://github.com/pytest-dev/pytest/issues/5615`):
    pytest.fail, pytest.xfail and pytest.skip no longer support
    bytes for the message argument.

    This was supported for Python 2 where it was tempting to use
    "message" instead of u"message".

    Python 3 code is unlikely to pass bytes to these functions. If you
    do, please decode it to an str beforehand.

Features

Improvements

Bug Fixes

Improved Documentation

Trivial/Internal Changes

Version 5.0.1

pytest 5.0.1 (2019-07-04)

Bug Fixes

Improved Documentation

Version 4.6.5

Bug Fixes

  • #4344 (https://github.com/pytest-dev/pytest/issues/4344): Fix RuntimeError/StopIteration when trying to collect package with "init.py" only.

  • #5478 (https://github.com/pytest-dev/pytest/issues/5478): Fix encode error when using unicode strings in exceptions with pytest.raises.

  • #5524 (https://github.com/pytest-dev/pytest/issues/5524): Fix issue where tmp_path and tmpdir would not remove directories containing files marked as read-only,
    which could lead to pytest crashing when executed a second time with the --basetemp option.

  • #5547 (https://github.com/pytest-dev/pytest/issues/5547): --step-wise now handles xfail(strict=True) markers properly.

  • #5650 (https://github.com/pytest-dev/pytest/issues/5650): Improved output when parsing an ini configuration file fails.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 61.696% when pulling 7303d3a on doppins/pytest-equals-5.1.1 into 34a7c54 on master.

@mcpeak mcpeak closed this Aug 29, 2019
@patricksanders patricksanders deleted the doppins/pytest-equals-5.1.1 branch December 7, 2020 17:51
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.

3 participants