Merge pull request #8057 from nicoddemus/changelog-links

Add links to some CHANGELOG entries
This commit is contained in:
Ran Benita 2020-11-21 20:47:27 +02:00 committed by GitHub
commit d59a4996ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 8 deletions

View File

@ -2,4 +2,4 @@ New :fixture:`pytester` fixture, which is identical to :fixture:`testdir` but it
This is part of the movement to use :class:`pathlib.Path` objects internally, in order to remove the dependency to ``py`` in the future. This is part of the movement to use :class:`pathlib.Path` objects internally, in order to remove the dependency to ``py`` in the future.
Internally, the old :class:`Testdir` is now a thin wrapper around :class:`Pytester`, preserving the old interface. Internally, the old :class:`Testdir <_pytest.pytester.Testdir>` is now a thin wrapper around :class:`Pytester <_pytest.pytester.Pytester>`, preserving the old interface.

View File

@ -1 +1 @@
When a comparison between `namedtuple` instances of the same type fails, pytest now shows the differing field names (possibly nested) instead of their indexes. When a comparison between :func:`namedtuple <collections.namedtuple>` instances of the same type fails, pytest now shows the differing field names (possibly nested) instead of their indexes.

View File

@ -1,3 +1,4 @@
Use strict equality comparison for nonnumeric types in ``approx`` instead of Use strict equality comparison for non-numeric types in :func:`pytest.approx` instead of
raising ``TypeError``. raising :class:`TypeError`.
This was the undocumented behavior before 3.7, but is now officially a supported feature. This was the undocumented behavior before 3.7, but is now officially a supported feature.

View File

@ -1 +1 @@
Directories created by `tmpdir` are now considered stale after 3 days without modification (previous value was 3 hours) to avoid deleting directories still in use in long running test suites. Directories created by by :fixture:`tmp_path` and :fixture:`tmpdir` are now considered stale after 3 days without modification (previous value was 3 hours) to avoid deleting directories still in use in long running test suites.

View File

@ -1 +1 @@
Fixed a crash or hang in ``pytester.spawn`` when the ``readline`` module is involved. Fixed a crash or hang in :meth:`pytester.spawn <_pytest.pytester.Pytester.spawn>` when the :mod:`readline` module is involved.

View File

@ -1 +1 @@
Added ``'node_modules'`` to default value for ``norecursedirs``. Added ``'node_modules'`` to default value for :confval:`norecursedirs`.

View File

@ -1 +1 @@
`doClassCleanups` (introduced in `unittest` in Python and 3.8) is now called. :meth:`doClassCleanups <unittest.TestCase.doClassCleanups>` (introduced in :mod:`unittest` in Python and 3.8) is now called appropriately.