8000 [3.6] unittest documentation: Spell pytest without the dot (GH-9820) by Mariatta · Pull Request #10156 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/library/unittest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ test runner
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``.

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

Supplying both *delta* and *places* raises a ``TypeError``.
Supplying both *delta* and *places* raises a :exc:`TypeError`.

.. versionchanged:: 3.2
:meth:`assertAlmostEqual` automatically considers almost equal objects
Expand Down
0