Skip to content

Commit d784203

Browse files
Error Fixed
1 parent 1ed8361 commit d784203

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Lib/test/test_ctypes/test_arrays.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,8 @@ def test_ctypes_array_class_assignment_same_size_ints(self):
183183
def test_ctypes_array_class_assignment_structs(self):
184184
class S1(Structure):
185185
_fields_ = [("x", c_int)]
186-
class S2(Structure):
187-
_fields_ = [("x", c_int)]
188186
A = S1 * 2
189-
B = S2 * 2
187+
B = S1 * 2
190188
a = A()
191189
a.__class__ = B
192190

0 commit comments

Comments
 (0)