We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8a6f08 commit 7402a8fCopy full SHA for 7402a8f
Lib/test/test_ctypes/test_struct_fields.py
@@ -79,7 +79,7 @@ def test_gh126937(self):
79
class X(self.cls):
80
_fields_ = [('char', c_char),]
81
class Y(self.cls):
82
- _fields_ = [('largeField', X * (2 ** 32))]
+ _fields_ = [('largeField', X * (2 ** 32 - 1))]
83
84
# __set__ and __get__ should raise a TypeError in case their self
85
# argument is not a ctype instance.
0 commit comments