]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117482: Make the Slot Wrapper Inheritance Tests Much More Thorough (gh-122867)
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 12 Aug 2024 19:19:33 +0000 (13:19 -0600)
committerGitHub <noreply@github.com>
Mon, 12 Aug 2024 19:19:33 +0000 (19:19 +0000)
commit503af8fe9a93ea6bc5bdfc76eb56b106a47c7292
treee51b1b7bbfdb6862d48fd846207cedc85f0678c1
parentab094d1b2b348f670743f88e52d1a3f2cab5abd5
gh-117482: Make the Slot Wrapper Inheritance Tests Much More Thorough (gh-122867)

There were a still a number of gaps in the tests, including not looking
at all the builtin types and not checking wrappers in subinterpreters
that weren't in the main interpreter. This fixes all that.

I considered incorporating the names of the PyTypeObject fields
(a la gh-122866), but figured doing so doesn't add much value.
Include/internal/pycore_typeobject.h
Lib/test/support/__init__.py
Lib/test/test_embed.py
Lib/test/test_types.py
Modules/_testinternalcapi.c
Objects/typeobject.c