XayOn / katcr

Search in multiple torrent sites from your CLI
GNU General Public License v3.0
69 stars 3 forks source link

Update pytest to 3.2.4 #23

Closed pyup-bot closed 7 years ago

pyup-bot commented 7 years ago

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

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

Changelog

3.2.4

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

Bug Fixes

  • Fix the bug where running pytest with "--pyargs" will result in Items with empty "parent.nodeid" if run from a different root directory. (2775 <https://github.com/pytest-dev/pytest/issues/2775>_)

  • Fix issue with pytest.parametrize if argnames was specified as kwarg. (2819 <https://github.com/pytest-dev/pytest/issues/2819>_)

  • Strip whitespace from marker names when reading them from INI config. (2856 <https://github.com/pytest-dev/pytest/issues/2856>_)

  • Show full context of doctest source in the pytest output, if the lineno of failed example in the docstring is < 9. (2882 &lt;https://github.com/pytest-dev/pytest/issues/2882&gt;_)

Improved Documentation

  • Introduce a dedicated section about conftest.py. (1505 &lt;https://github.com/pytest-dev/pytest/issues/1505&gt;_)

  • Explicitly mention xpass in the documentation of xfail. (1997 &lt;https://github.com/pytest-dev/pytest/issues/1997&gt;_)

  • Append example for pytest.param in the example/parametrize document. (2658 &lt;https://github.com/pytest-dev/pytest/issues/2658&gt;_)

  • Clarify language of proposal for fixtures parameters (2893 &lt;https://github.com/pytest-dev/pytest/issues/2893&gt;_)

  • List python 3.6 in the documented supported versions in the getting started document. (2903 &lt;https://github.com/pytest-dev/pytest/issues/2903&gt;_)

  • Clarify the documentation of available fixture scopes. (538 &lt;https://github.com/pytest-dev/pytest/issues/538&gt;_)

  • Add documentation about the python -m pytest invocation adding the current directory to sys.path. (911 &lt;https://github.com/pytest-dev/pytest/issues/911&gt;_)

3.2.3

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

Bug Fixes

  • Fix crash in tab completion when no prefix is given. (2748 &lt;https://github.com/pytest-dev/pytest/issues/2748&gt;_)

  • The equality checking function (__eq__) of MarkDecorator returns False if one object is not an instance of MarkDecorator. (2758 &lt;https://github.com/pytest-dev/pytest/issues/2758&gt;_)

  • When running pytest --fixtures-per-test: don't crash if an item has no fixtureinfo attribute (e.g. doctests) (2788 &lt;https://github.com/pytest-dev/pytest/issues/2788&gt;)

Improved Documentation

  • In help text of -k option, add example of using not to not select certain tests whose names match the provided expression. (1442 &lt;https://github.com/pytest-dev/pytest/issues/1442&gt;_)

  • Add note in parametrize.rst about calling metafunc.parametrize multiple times. (1548 &lt;https://github.com/pytest-dev/pytest/issues/1548&gt;_)

Trivial/Internal Changes

  • Set xfail_strict=True in pytest's own test suite to catch expected failures as soon as they start to pass. (2722 &lt;https://github.com/pytest-dev/pytest/issues/2722&gt;_)

  • Fix typo in example of passing a callable to markers (in example/markers.rst) (2765 &lt;https://github.com/pytest-dev/pytest/issues/2765&gt;_)

3.2.2

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

Bug Fixes

  • Calling the deprecated request.getfuncargvalue() now shows the source of the call. (2681 &lt;https://github.com/pytest-dev/pytest/issues/2681&gt;_)

  • Allow tests declared as staticmethod to use fixtures. (2699 &lt;https://github.com/pytest-dev/pytest/issues/2699&gt;_)

  • Fixed edge-case during collection: attributes which raised pytest.fail when accessed would abort the entire collection. (2707 &lt;https://github.com/pytest-dev/pytest/issues/2707&gt;_)

  • Fix ReprFuncArgs with mixed unicode and UTF-8 args. (2731 &lt;https://github.com/pytest-dev/pytest/issues/2731&gt;_)

Improved Documentation

  • In examples on working with custom markers, add examples demonstrating the usage of pytest.mark.MARKER_NAME.with_args in comparison with pytest.mark.MARKER_NAME.__call__ (2604 &lt;https://github.com/pytest-dev/pytest/issues/2604&gt;_)

  • In one of the simple examples, use pytest_collection_modifyitems() to skip tests based on a command-line option, allowing its sharing while preventing a user error when acessing pytest.config before the argument parsing. (2653 &lt;https://github.com/pytest-dev/pytest/issues/2653&gt;_)

Trivial/Internal Changes

  • Fixed minor error in 'Good Practices/Manual Integration' code snippet. (2691 &lt;https://github.com/pytest-dev/pytest/issues/2691&gt;_)

  • Fixed typo in goodpractices.rst. (2721 &lt;https://github.com/pytest-dev/pytest/issues/2721&gt;_)

  • Improve user guidance regarding --resultlog deprecation. (2739 &lt;https://github.com/pytest-dev/pytest/issues/2739&gt;_)

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

Happy merging! 🤖

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 5a71d3b22261f87e7e62c0e5eb4aa9ae832449cf on pyup-update-pytest-3.2.1-to-3.2.4 into 27f86c83ae3f43d7f1f65614a55cf5e2a5536803 on master.

pyup-bot commented 7 years ago

Closing this in favor of #24