]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-136300: Modify C tests to conform to PEP-737 (GH-136301)
authorWilliam S Fulton <wsf@fultondesigns.co.uk>
Fri, 11 Jul 2025 13:18:35 +0000 (14:18 +0100)
committerGitHub <noreply@github.com>
Fri, 11 Jul 2025 13:18:35 +0000 (15:18 +0200)
commit7de8ea7be6c19f21c090f44a01817fab26c1f095
treeeb80c8628298bf8cde18f4f7b5a8a33d1483ba6e
parent3343fce05acb29a772599ce586abd43edf40bae6
gh-136300: Modify C tests to conform to PEP-737 (GH-136301)

- Use %T format specifier instead of %s and Py_TYPE(x)->tp_name.
- Remove legacy %.200s format specifier for truncating type names.

Co-authored-by: Victor Stinner <vstinner@python.org>
Modules/_testbuffer.c
Modules/_testcapi/monitoring.c
Modules/_testcapi/time.c
Modules/_testcapimodule.c
Modules/_testinternalcapi.c