Skip to content

Commit

Permalink
pythongh-101100: Fix class reference in library/test.rst (pythonGH-11…
Browse files Browse the repository at this point in the history
…4769)

The text clearly seems to be referencing `TestFuncAcceptsSequencesMixin`,
for which no target is available. Name the class properly and suppress
the dangling reference.
  • Loading branch information
smontanaro authored and aisk committed Feb 11, 2024
1 parent e7225f8 commit 08c1b30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ guidelines to be followed:
arg = (1, 2, 3)

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

Expand Down

0 comments on commit 08c1b30

Please sign in to comment.