Skip to content

Commit 0b327cc

Browse files
authored
Merge pull request #7796 from bluetech/changelog-cleanups
changelog: some consistency cleanups
2 parents d3f47bf + d3c746e commit 0b327cc

9 files changed

+21
-20
lines changed

changelog/1953.bugfix.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Fix error when overwriting a parametrized fixture, while also reusing the super fixture value.
1+
Fixed error when overwriting a parametrized fixture, while also reusing the super fixture value.
22

33
.. code-block:: python
44

changelog/5585.breaking.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
As per our policy, the following features have been deprecated in the 5.X series and are now
1+
As per our policy, the following features which have been deprecated in the 5.X series are now
22
removed:
33

44
* The ``funcargnames`` read-only property of ``FixtureRequest``, ``Metafunc``, and ``Function`` classes. Use ``fixturenames`` attribute.

changelog/6981.deprecation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Deprecate the ``pytest.collect`` module: all its names can be imported from ``pytest`` directly.
1+
The ``pytest.collect`` module is deprecated: all its names can be imported from ``pytest`` directly.

changelog/7097.deprecation.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
The ``pytest._fillfuncargs`` function is now deprecated. This function was kept
2-
for backward compatibility with an older plugin.
3-
4-
It's functionality is not meant to be used directly, but if you must replace
5-
it, use `function._request._fillfixtures()` instead, though note this is not
6-
a public API and may break in the future.
1+
The ``pytest._fillfuncargs`` function is deprecated. This function was kept
2+
for backward compatibility with an older plugin.
3+
4+
It's functionality is not meant to be used directly, but if you must replace
5+
it, use `function._request._fillfixtures()` instead, though note this is not
6+
a public API and may break in the future.

changelog/7210.deprecation.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
The special ``-k '-expr'`` syntax to ``-k`` is deprecated. Use ``-k 'not expr'``
2-
instead.
3-
4-
The special ``-k 'expr:'`` syntax to ``-k`` is deprecated. Please open an issue
5-
if you use this and want a replacement.
1+
The special ``-k '-expr'`` syntax to ``-k`` is deprecated. Use ``-k 'not expr'``
2+
instead.
3+
4+
The special ``-k 'expr:'`` syntax to ``-k`` is deprecated. Please open an issue
5+
if you use this and want a replacement.

changelog/7255.deprecation.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
The :func:`pytest_warning_captured` hook has been deprecated in favor of :func:`pytest_warning_recorded`, and will be removed in a future version.
1+
The :func:`pytest_warning_captured <_pytest.hookspec.pytest_warning_captured>` hook is deprecated in favor
2+
of :func:`pytest_warning_recorded <_pytest.hookspec.pytest_warning_recorded>`, and will be removed in a future version.

changelog/7628.bugfix.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +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``).
1+
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``).

changelog/7671.trivial.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
When collecting tests, pytest finds test classes and functions by examining the
22
attributes of python objects (modules, classes and instances). To speed up this
33
process, pytest now ignores builtin attributes (like ``__class__``,
4-
``__delattr__`` and ``__new__``) without consulting the ``python_classes`` and
5-
``python_functions`` configuration options and without passing them to plugins
6-
using the ``pytest_pycollect_makeitem`` hook.
4+
``__delattr__`` and ``__new__``) without consulting the :confval:`python_classes` and
5+
:confval:`python_functions` configuration options and without passing them to plugins
6+
using the :func:`pytest_pycollect_makeitem <_pytest.hookspec.pytest_pycollect_makeitem>` hook.

changelog/7742.bugfix.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Fix INTERNALERROR when accessing locals / globals with faulty ``exec``.
1+
Fixed INTERNALERROR when accessing locals / globals with faulty ``exec``.

0 commit comments

Comments
 (0)