diff --git a/changelog/1953.bugfix.rst b/changelog/1953.bugfix.rst index 9db33ab10..850b8b354 100644 --- a/changelog/1953.bugfix.rst +++ b/changelog/1953.bugfix.rst @@ -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 diff --git a/changelog/5585.breaking.rst b/changelog/5585.breaking.rst index 0ecba32df..a0e7cab8c 100644 --- a/changelog/5585.breaking.rst +++ b/changelog/5585.breaking.rst @@ -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. diff --git a/changelog/6981.deprecation.rst b/changelog/6981.deprecation.rst index 622dd9500..28cb10fe5 100644 --- a/changelog/6981.deprecation.rst +++ b/changelog/6981.deprecation.rst @@ -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. diff --git a/changelog/7097.deprecation.rst b/changelog/7097.deprecation.rst index b2aba597b..f7f38e3c8 100644 --- a/changelog/7097.deprecation.rst +++ b/changelog/7097.deprecation.rst @@ -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. diff --git a/changelog/7210.deprecation.rst b/changelog/7210.deprecation.rst index be0ead221..3e1350eaa 100644 --- a/changelog/7210.deprecation.rst +++ b/changelog/7210.deprecation.rst @@ -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. diff --git a/changelog/7255.deprecation.rst b/changelog/7255.deprecation.rst index c6d56ab5a..120590b12 100644 --- a/changelog/7255.deprecation.rst +++ b/changelog/7255.deprecation.rst @@ -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. diff --git a/changelog/7628.bugfix.rst b/changelog/7628.bugfix.rst index 9f3480aaa..7e020f012 100644 --- a/changelog/7628.bugfix.rst +++ b/changelog/7628.bugfix.rst @@ -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``). diff --git a/changelog/7671.trivial.rst b/changelog/7671.trivial.rst index 6dddf4cf0..de9b8ef13 100644 --- a/changelog/7671.trivial.rst +++ b/changelog/7671.trivial.rst @@ -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. diff --git a/changelog/7742.bugfix.rst b/changelog/7742.bugfix.rst index 95277ee89..1f73a4431 100644 --- a/changelog/7742.bugfix.rst +++ b/changelog/7742.bugfix.rst @@ -1 +1 @@ -Fix INTERNALERROR when accessing locals / globals with faulty ``exec``. +Fixed INTERNALERROR when accessing locals / globals with faulty ``exec``.