]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-101100: Make __subclasses__ doctest stable (GH-124577) (#124580)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Thu, 26 Sep 2024 06:40:40 +0000 (23:40 -0700)
committerGitHub <noreply@github.com>
Thu, 26 Sep 2024 06:40:40 +0000 (06:40 +0000)
commitd4cd39097e82b2cd8842e1e3f75662ac4b0610bd
tree4163bfa425fd4655db41ea5e8195d91acf7e59fd
parent2b54a4ebf1ffd2d709570267b3b3bb1dcfec4d53
[3.12] gh-101100: Make __subclasses__ doctest stable (GH-124577) (#124580)

Using a standard library class makes this test difficult to maintain
as other tests and other parts of the stdlib may create subclasses,
which may still be alive when this test runs depending on GC timing.
(cherry picked from commit 08a467b537b3d9b499d060697e79b3950374ab0f)
Doc/reference/datamodel.rst