Skip to content

Commit 0fb89d7

Browse files
author
Saurabh B
committed
Fix for missing class reference in docs
1 parent b9c5098 commit 0fb89d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/doctest.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,8 +1102,8 @@ from text files and modules with doctests:
11021102
Optional argument *encoding* specifies an encoding that should be used to
11031103
convert the file to unicode.
11041104

1105-
Optional argument *test_case* specifies the :class:`DocFileCase` class (or a
1106-
subclass) that should be used to create test cases. By default, :class:`DocFileCase`
1105+
Optional argument *test_case* specifies the :class:`!DocFileCase` class (or a
1106+
subclass) that should be used to create test cases. By default, :class:`!DocFileCase`
11071107
is used. This allows for custom test case classes that can add additional behavior
11081108
or attributes to the test cases.
11091109

@@ -1147,8 +1147,8 @@ from text files and modules with doctests:
11471147
Optional arguments *setUp*, *tearDown*, and *optionflags* are the same as for
11481148
function :func:`DocFileSuite` above.
11491149

1150-
Optional argument *test_case* specifies the :class:`DocTestCase` class (or a
1151-
subclass) that should be used to create test cases. By default, :class:`DocTestCase`
1150+
Optional argument *test_case* specifies the :class:`!DocTestCase` class (or a
1151+
subclass) that should be used to create test cases. By default, :class:`!DocTestCase`
11521152
is used. This allows for custom test case classes that can add additional behavior
11531153
or attributes to the test cases.
11541154

0 commit comments

Comments
 (0)