diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index dd85e9e33d9c8c..a43e9453239ca8 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -56,7 +56,7 @@ test runner
Kent Beck's original paper on testing frameworks using the pattern shared
by :mod:`unittest`.
- `Nose `_ and `py.test `_
+ `Nose `_ and `pytest `_
Third-party unittest frameworks with a lighter-weight syntax for writing
tests. For example, ``assert func(10) == 42``.
@@ -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