diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index b130a8b0889..a698e138fa5 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -1553,8 +1553,8 @@ Loading and running tests The :class:`TestLoader` class is used to create test suites from classes and modules. Normally, there is no need to create an instance of this class; the :mod:`unittest` module provides an instance that can be shared as - ``unittest.defaultTestLoader``. Using a subclass or instance, however, allows - customization of some configurable properties. + :data:`unittest.defaultTestLoader`. Using a subclass or instance, however, + allows customization of some configurable properties. :class:`TestLoader` objects have the following methods: