8000 [3.6] unittest documentation: Spell pytest without the dot (GH-9820) … · python/cpython@8e5e37e · GitHub
[go: up one dir, main page]

Skip to content

Commit 8e5e37e

Browse files
Mariattapelme
authored andcommitted
[3.6] unittest documentation: Spell pytest without the dot (GH-9820) (GH-10156)
Referring to ``pytest`` as ``py.test`` is deprecated.. (cherry picked from commit d855f2f) Co-authored-by: Andreas Pelme <andreas@pelme.se>
1 parent 5282125 commit 8e5e37e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/unittest.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ test runner
5656
Kent Beck's original paper on testing frameworks using the pattern shared
5757
by :mod:`unittest`.
5858

59-
`Nose <https://nose.readthedocs.org/en/latest/>`_ and `py.test <http://pytest.org>`_
59+
`Nose <https://nose.readthedocs.io/>`_ and `pytest <https://docs.pytest.org/>`_
6060
Third-party unittest frameworks with a lighter-weight syntax for writing
6161
tests. For example, ``assert func(10) == 42``.
6262

@@ -1142,7 +1142,7 @@ Test cases
11421142
If *delta* is supplied instead of *places* then the difference
11431143
between *first* and *second* must be less or equal to (or greater than) *delta*.
11441144

1145-
Supplying both *delta* and *places* raises a ``TypeError``.
1145+
Supplying both *delta* and *places* raises a :exc:`TypeError`.
11461146

11471147
.. versionchanged:: 3.2
11481148
:meth:`assertAlmostEqual` automatically considers almost equal objects

0 commit comments

Comments
 (0)
0