]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-101100: Make __subclasses__ doctest stable (#124577)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Thu, 26 Sep 2024 06:26:03 +0000 (23:26 -0700)
committerGitHub <noreply@github.com>
Thu, 26 Sep 2024 06:26:03 +0000 (06:26 +0000)
commit08a467b537b3d9b499d060697e79b3950374ab0f
tree0cfd40c763c44ab349ca0aebf729c4e489abc5e2
parent1229cb8c1412d37cf3206eab407f03e21d602cbd
gh-101100: Make __subclasses__ doctest stable (#124577)

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.
Doc/reference/datamodel.rst