==================
* Add warning when not passing ``option=value`` correctly to ``-o/--override-ini`` (:issue:`2105`).
Also improved the help documentation. Thanks to :user:`mbukatov` for the report and
:user:`lwm` for the PR.
* Now ``--confcutdir`` and ``--junit-xml`` are properly validated if they are directories
and filenames, respectively (:issue:`2089` and :issue:`2078`). Thanks to :user:`lwm` for the PR.
* Add hint to error message hinting possible missing ``__init__.py`` (:issue:`478`). Thanks :user:`DuncanBetts`.
* More accurately describe when fixture finalization occurs in documentation (:issue:`687`). Thanks :user:`DuncanBetts`.
* Provide ``:ref:`` targets for ``recwarn.rst`` so we can use intersphinx referencing.
Thanks to :user:`dupuy` for the report and :user:`lwm` for the PR.
* In Python 2, use a simple ``+-`` ASCII string in the string representation of ``pytest.approx`` (for example ``"4 +- 4.0e-06"``)
because it is brittle to handle that in different contexts and representations internally in pytest
which can result in bugs such as :issue:`2111`. In Python 3, the representation still uses ``±`` (for example ``4 ± 4.0e-06``).
Thanks :user:`kerrick-lyft` for the report and :user:`nicoddemus` for the PR.
* Using ``item.Function``, ``item.Module``, etc., is now issuing deprecation warnings, prefer
``pytest.Function``, ``pytest.Module``, etc., instead (:issue:`2034`).
Thanks :user:`nmundar` for the PR.
* Fix error message using ``approx`` with complex numbers (:issue:`2082`).
Thanks :user:`adler-j` for the report and :user:`nicoddemus` for the PR.
* Fixed false-positives warnings from assertion rewrite hook for modules imported more than
once by the ``pytest_plugins`` mechanism.
Thanks :user:`nicoddemus` for the PR.
* Remove an internal cache which could cause hooks from ``conftest.py`` files in
sub-directories to be called in other directories incorrectly (:issue:`2016`).
Thanks :user:`d-b-w` for the report and :user:`nicoddemus` for the PR.
* Remove internal code meant to support earlier Python 3 versions that produced the side effect
of leaving ``None`` in ``sys.modules`` when expressions were evaluated by pytest (for example passing a condition
as a string to ``pytest.mark.skipif``)(:issue:`2103`).
Thanks :user:`jaraco` for the report and :user:`nicoddemus` for the PR.
* Cope gracefully with a .pyc file with no matching .py file (:issue:`2038`). Thanks
:user:`nedbat`.