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 <https://github.com/pytest-dev/pytest/issues/2882>_)
Improved Documentation
Introduce a dedicated section about conftest.py. (1505 <https://github.com/pytest-dev/pytest/issues/1505>_)
Explicitly mention xpass in the documentation of xfail. (1997 <https://github.com/pytest-dev/pytest/issues/1997>_)
Append example for pytest.param in the example/parametrize document. (2658 <https://github.com/pytest-dev/pytest/issues/2658>_)
Clarify language of proposal for fixtures parameters (2893 <https://github.com/pytest-dev/pytest/issues/2893>_)
List python 3.6 in the documented supported versions in the getting started
document. (2903 <https://github.com/pytest-dev/pytest/issues/2903>_)
Clarify the documentation of available fixture scopes. (538 <https://github.com/pytest-dev/pytest/issues/538>_)
Add documentation about the python -m pytest invocation adding the
current directory to sys.path. (911 <https://github.com/pytest-dev/pytest/issues/911>_)
3.2.3
=========================
Bug Fixes
Fix crash in tab completion when no prefix is given. (2748 <https://github.com/pytest-dev/pytest/issues/2748>_)
The equality checking function (__eq__) of MarkDecorator returns
False if one object is not an instance of MarkDecorator. (2758 <https://github.com/pytest-dev/pytest/issues/2758>_)
When running pytest --fixtures-per-test: don't crash if an item has no
fixtureinfo attribute (e.g. doctests) (2788 <https://github.com/pytest-dev/pytest/issues/2788>)
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 <https://github.com/pytest-dev/pytest/issues/1442>_)
Add note in parametrize.rst about calling metafunc.parametrize
multiple times. (1548 <https://github.com/pytest-dev/pytest/issues/1548>_)
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 <https://github.com/pytest-dev/pytest/issues/2722>_)
Fix typo in example of passing a callable to markers (in example/markers.rst)
(2765 <https://github.com/pytest-dev/pytest/issues/2765>_)
3.2.2
=========================
Bug Fixes
Calling the deprecated request.getfuncargvalue() now shows the source of
the call. (2681 <https://github.com/pytest-dev/pytest/issues/2681>_)
Allow tests declared as staticmethod to use fixtures. (2699 <https://github.com/pytest-dev/pytest/issues/2699>_)
Fixed edge-case during collection: attributes which raised pytest.fail
when accessed would abort the entire collection. (2707 <https://github.com/pytest-dev/pytest/issues/2707>_)
Fix ReprFuncArgs with mixed unicode and UTF-8 args. (2731 <https://github.com/pytest-dev/pytest/issues/2731>_)
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 <https://github.com/pytest-dev/pytest/issues/2604>_)
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 <https://github.com/pytest-dev/pytest/issues/2653>_)
Trivial/Internal Changes
Fixed minor error in 'Good Practices/Manual Integration' code snippet.
(2691 <https://github.com/pytest-dev/pytest/issues/2691>_)
Fixed typo in goodpractices.rst. (2721 <https://github.com/pytest-dev/pytest/issues/2721>_)
Improve user guidance regarding --resultlog deprecation. (2739 <https://github.com/pytest-dev/pytest/issues/2739>_)
Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.
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
Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.
Happy merging! 🤖