From: Victor Stinner Date: Sun, 19 Jul 2026 10:51:29 +0000 (+0200) Subject: gh-104533: Update test_ctypes.test_structures (#154091) X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=20b50f8ec4602fb108e029e6f84b2a19294a95d2;p=thirdparty%2FPython%2Fcpython.git gh-104533: Update test_ctypes.test_structures (#154091) --- diff --git a/Lib/test/test_ctypes/test_structures.py b/Lib/test/test_ctypes/test_structures.py index 04c3682e8308..a74a3548ee78 100644 --- a/Lib/test/test_ctypes/test_structures.py +++ b/Lib/test/test_ctypes/test_structures.py @@ -958,7 +958,7 @@ class StructureTestCase(unittest.TestCase, StructCheckMixin): def test_string_annotations(self): from test.test_ctypes import struct_str_ann Point = struct_str_ann.Point - fields = [['x', c_int], ['y', c_int]] + fields = [('x', c_int), ('y', c_int)] self.assertEqual(Point._fields_, fields)