]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101100: Fix class reference in library/test.rst (GH-114769)
authorSkip Montanaro <skip.montanaro@gmail.com>
Wed, 31 Jan 2024 09:33:10 +0000 (03:33 -0600)
committerGitHub <noreply@github.com>
Wed, 31 Jan 2024 09:33:10 +0000 (11:33 +0200)
The text clearly seems to be referencing `TestFuncAcceptsSequencesMixin`,
for which no target is available. Name the class properly and suppress
the dangling reference.

Doc/library/test.rst

index 9173db07fd00718456b4447bc943157e68a7e93b..cad1023021a51292800c34334bd2cf5bbdb908c1 100644 (file)
@@ -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`.