Merge remote-tracking branch 'upstream/6.0.x' into fix-changelog-entries-release-process

This commit is contained in:
Bruno Oliveira 2020-07-29 11:27:08 -03:00
commit e691d3ee52
12 changed files with 0 additions and 35 deletions

View File

@ -1,23 +0,0 @@
**PytestDeprecationWarning are now errors by default.**
Following our plan to remove deprecated features with as little disruption as
possible, all warnings of type ``PytestDeprecationWarning`` now generate errors
instead of warning messages.
**The affected features will be effectively removed in pytest 6.1**, so please consult the
`Deprecations and Removals <https://docs.pytest.org/en/latest/deprecations.html>`__
section in the docs for directions on how to update existing code.
In the pytest ``6.0.X`` series, it is possible to change the errors back into warnings as a
stopgap measure by adding this to your ``pytest.ini`` file:
.. code-block:: ini
[pytest]
filterwarnings =
ignore::pytest.PytestDeprecationWarning
But this will stop working when pytest ``6.1`` is released.
**If you have concerns** about the removal of a specific feature, please add a
comment to `#5584 <https://github.com/pytest-dev/pytest/issues/5584>`__.

View File

@ -1 +0,0 @@
Fixture scope ``package`` is no longer considered experimental.

View File

@ -1 +0,0 @@
Fix the reported location of tests skipped with ``@pytest.mark.skip`` when ``--runxfail`` is used.

View File

@ -1 +0,0 @@
Clarified when the ``usefixtures`` mark can apply fixtures to test.

View File

@ -1 +0,0 @@
Add a note about ``-q`` option used in getting started guide.

View File

@ -1 +0,0 @@
Added support for :envvar:`NO_COLOR` and :envvar:`FORCE_COLOR` environment variables to control colored output.

View File

@ -1 +0,0 @@
``--log-file`` CLI option and ``log_file`` ini marker now create subdirectories if needed.

View File

@ -1 +0,0 @@
The ``exec_()`` and ``is_true()`` methods of ``_pytest._code.Frame`` have been removed.

View File

@ -1 +0,0 @@
The :func:`pytest.raises` function has a clearer error message when ``match`` equals the obtained string but is not a regex match. In this case it is suggested to escape the regex.

View File

@ -1,2 +0,0 @@
:fixture:`tmpdir` and :fixture:`tmp_path` no longer raise an error if the lock to check for
stale temporary directories is not accessible.

View File

@ -1 +0,0 @@
Preserve line endings when captured via ``capfd``.

View File

@ -1 +0,0 @@
Restored the previous formatting of ``TracebackEntry.__str__`` which was changed by accident.