]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-126937: ctypes: add test for maximum size of a struct field (GH-126938...
authorPetr Viktorin <encukou@gmail.com>
Fri, 13 Dec 2024 15:51:55 +0000 (16:51 +0100)
committerGitHub <noreply@github.com>
Fri, 13 Dec 2024 15:51:55 +0000 (16:51 +0100)
commitd0368556b53023961835efb42ab9600a7055068e
tree15d61f3aa1b718571a2330a4386845ee7ad9e41a
parent58916eb211fe6ed5f910f1b88bd755fb4d2f7128
[3.12] gh-126937: ctypes: add test for maximum size of a struct field (GH-126938) (GH-127825) (GH-127909)

This backports the *test* from GH-126938, with changed limit and exception class.

Co-authored-by: Melissa0x1f992 <70096546+Melissa0x1f992@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry-picked from d51c1444e36e2cfdb33087f165819a7cd6774a9e)
Lib/test/test_ctypes/test_struct_fields.py