]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[2.7] unittest documentation: Spell pytest without the dot (GH-9820) (GH-10157)
authorMariatta <Mariatta@users.noreply.github.com>
Sat, 27 Oct 2018 18:27:33 +0000 (11:27 -0700)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 27 Oct 2018 18:27:33 +0000 (11:27 -0700)
Referring to ``pytest`` as ``py.test`` is deprecated..
(cherry picked from commit d855f2fdbd73016ece9b58e6f6ac26cf986fabf6)

Co-authored-by: Andreas Pelme <andreas@pelme.se>
Doc/library/unittest.rst

index 06368fcb3d1f36ea476ae1e9cb338f68e0c020cb..2638d6c68c6f285f69f5c620fcd0c90943bd4aab 100644 (file)
@@ -87,7 +87,7 @@ need to derive from a specific class.
       Kent Beck's original paper on testing frameworks using the pattern shared
       by :mod:`unittest`.
 
-   `Nose <https://nose.readthedocs.org/en/latest/>`_ and `py.test <http://pytest.org>`_
+   `Nose <https://nose.readthedocs.io/>`_ and `pytest <https://docs.pytest.org/>`_
       Third-party unittest frameworks with a lighter-weight syntax for writing
       tests.  For example, ``assert func(10) == 42``.