Skip to content

Commit 08c1b30

Browse files
smontanaroaisk
authored andcommitted
pythongh-101100: Fix class reference in library/test.rst (pythonGH-114769)
The text clearly seems to be referencing `TestFuncAcceptsSequencesMixin`, for which no target is available. Name the class properly and suppress the dangling reference.
1 parent e7225f8 commit 08c1b30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/test.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ guidelines to be followed:
143143
arg = (1, 2, 3)
144144

145145
When using this pattern, remember that all classes that inherit from
146-
:class:`unittest.TestCase` are run as tests. The :class:`Mixin` class in the example above
146+
:class:`unittest.TestCase` are run as tests. The :class:`!TestFuncAcceptsSequencesMixin` class in the example above
147147
does not have any data and so can't be run by itself, thus it does not
148148
inherit from :class:`unittest.TestCase`.
149149

0 commit comments

Comments
 (0)