Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changelog: some consistency cleanups #7796

Merged
merged 1 commit into from Sep 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion 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

Expand Down
2 changes: 1 addition & 1 deletion 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.
Expand Down
2 changes: 1 addition & 1 deletion 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.
12 changes: 6 additions & 6 deletions 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.
10 changes: 5 additions & 5 deletions 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.
3 changes: 2 additions & 1 deletion 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.
2 changes: 1 addition & 1 deletion 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``).
6 changes: 3 additions & 3 deletions 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.
2 changes: 1 addition & 1 deletion changelog/7742.bugfix.rst
@@ -1 +1 @@
Fix INTERNALERROR when accessing locals / globals with faulty ``exec``.
Fixed INTERNALERROR when accessing locals / globals with faulty ``exec``.