https://github.com/python/cpython/commit/20b50f8ec4602fb108e029e6f84b2a19294a95d2
commit: 20b50f8ec4602fb108e029e6f84b2a19294a95d2
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2026-07-19T10:51:29Z
summary:

gh-104533: Update test_ctypes.test_structures (#154091)

files:
M Lib/test/test_ctypes/test_structures.py

diff --git a/Lib/test/test_ctypes/test_structures.py 
b/Lib/test/test_ctypes/test_structures.py
index 04c3682e8308ec..a74a3548ee7841 100644
--- a/Lib/test/test_ctypes/test_structures.py
+++ b/Lib/test/test_ctypes/test_structures.py
@@ -958,7 +958,7 @@ class Foo:
     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)
 
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to