https://github.com/python/cpython/commit/0536bbb192c5ecca5e21385f82b0ac86f2e7e34c commit: 0536bbb192c5ecca5e21385f82b0ac86f2e7e34c branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka <[email protected]> date: 2024-01-31T09:41:10Z summary:
[3.12] gh-101100: Fix class reference in library/test.rst (GH-114769) (GH-114794) The text clearly seems to be referencing `TestFuncAcceptsSequencesMixin`, for which no target is available. Name the class properly and suppress the dangling reference. (cherry picked from commit 7a93db44257c0404dc407ff2ddc997f4bb8890ed) Co-authored-by: Skip Montanaro <[email protected]> files: M Doc/library/test.rst diff --git a/Doc/library/test.rst b/Doc/library/test.rst index 9173db07fd0071..cad1023021a512 100644 --- a/Doc/library/test.rst +++ b/Doc/library/test.rst @@ -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`. _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
