Merge pull request #7796 from bluetech/changelog-cleanups
changelog: some consistency cleanups
This commit is contained in:
commit
0b327cc75b
|
@ -1,4 +1,4 @@
|
|||
Fix error when overwriting a parametrized fixture, while also reusing the super fixture value.
|
||||
Fixed error when overwriting a parametrized fixture, while also reusing the super fixture value.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
As per our policy, the following features have been deprecated in the 5.X series and are now
|
||||
As per our policy, the following features which have been deprecated in the 5.X series are now
|
||||
removed:
|
||||
|
||||
* The ``funcargnames`` read-only property of ``FixtureRequest``, ``Metafunc``, and ``Function`` classes. Use ``fixturenames`` attribute.
|
||||
|
|
|
@ -1 +1 @@
|
|||
Deprecate the ``pytest.collect`` module: all its names can be imported from ``pytest`` directly.
|
||||
The ``pytest.collect`` module is deprecated: all its names can be imported from ``pytest`` directly.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
The ``pytest._fillfuncargs`` function is now deprecated. This function was kept
|
||||
for backward compatibility with an older plugin.
|
||||
|
||||
It's functionality is not meant to be used directly, but if you must replace
|
||||
it, use `function._request._fillfixtures()` instead, though note this is not
|
||||
a public API and may break in the future.
|
||||
The ``pytest._fillfuncargs`` function is deprecated. This function was kept
|
||||
for backward compatibility with an older plugin.
|
||||
|
||||
It's functionality is not meant to be used directly, but if you must replace
|
||||
it, use `function._request._fillfixtures()` instead, though note this is not
|
||||
a public API and may break in the future.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
The special ``-k '-expr'`` syntax to ``-k`` is deprecated. Use ``-k 'not expr'``
|
||||
instead.
|
||||
|
||||
The special ``-k 'expr:'`` syntax to ``-k`` is deprecated. Please open an issue
|
||||
if you use this and want a replacement.
|
||||
The special ``-k '-expr'`` syntax to ``-k`` is deprecated. Use ``-k 'not expr'``
|
||||
instead.
|
||||
|
||||
The special ``-k 'expr:'`` syntax to ``-k`` is deprecated. Please open an issue
|
||||
if you use this and want a replacement.
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
The :func:`pytest_warning_captured` hook has been deprecated in favor of :func:`pytest_warning_recorded`, and will be removed in a future version.
|
||||
The :func:`pytest_warning_captured <_pytest.hookspec.pytest_warning_captured>` hook is deprecated in favor
|
||||
of :func:`pytest_warning_recorded <_pytest.hookspec.pytest_warning_recorded>`, and will be removed in a future version.
|
||||
|
|
|
@ -1 +1 @@
|
|||
Fix test collection when a full path without a drive letter was passed to pytest on Windows (for example ``\projects\tests\test.py`` instead of ``c:\projects\tests\pytest.py``).
|
||||
Fixed test collection when a full path without a drive letter was passed to pytest on Windows (for example ``\projects\tests\test.py`` instead of ``c:\projects\tests\pytest.py``).
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
When collecting tests, pytest finds test classes and functions by examining the
|
||||
attributes of python objects (modules, classes and instances). To speed up this
|
||||
process, pytest now ignores builtin attributes (like ``__class__``,
|
||||
``__delattr__`` and ``__new__``) without consulting the ``python_classes`` and
|
||||
``python_functions`` configuration options and without passing them to plugins
|
||||
using the ``pytest_pycollect_makeitem`` hook.
|
||||
``__delattr__`` and ``__new__``) without consulting the :confval:`python_classes` and
|
||||
:confval:`python_functions` configuration options and without passing them to plugins
|
||||
using the :func:`pytest_pycollect_makeitem <_pytest.hookspec.pytest_pycollect_makeitem>` hook.
|
||||
|
|
|
@ -1 +1 @@
|
|||
Fix INTERNALERROR when accessing locals / globals with faulty ``exec``.
|
||||
Fixed INTERNALERROR when accessing locals / globals with faulty ``exec``.
|
||||
|
|
Loading…
Reference in New Issue