Merge remote-tracking branch 'upstream/6.0.x' into fix-changelog-entries-release-process
This commit is contained in:
commit
e691d3ee52
|
@ -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>`__.
|
|
@ -1 +0,0 @@
|
|||
Fixture scope ``package`` is no longer considered experimental.
|
|
@ -1 +0,0 @@
|
|||
Fix the reported location of tests skipped with ``@pytest.mark.skip`` when ``--runxfail`` is used.
|
|
@ -1 +0,0 @@
|
|||
Clarified when the ``usefixtures`` mark can apply fixtures to test.
|
|
@ -1 +0,0 @@
|
|||
Add a note about ``-q`` option used in getting started guide.
|
|
@ -1 +0,0 @@
|
|||
Added support for :envvar:`NO_COLOR` and :envvar:`FORCE_COLOR` environment variables to control colored output.
|
|
@ -1 +0,0 @@
|
|||
``--log-file`` CLI option and ``log_file`` ini marker now create subdirectories if needed.
|
|
@ -1 +0,0 @@
|
|||
The ``exec_()`` and ``is_true()`` methods of ``_pytest._code.Frame`` have been removed.
|
|
@ -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.
|
|
@ -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.
|
|
@ -1 +0,0 @@
|
|||
Preserve line endings when captured via ``capfd``.
|
|
@ -1 +0,0 @@
|
|||
Restored the previous formatting of ``TracebackEntry.__str__`` which was changed by accident.
|
Loading…
Reference in New Issue