Visitar URL original
gh-78878: Fix crash when creating an instance of `_ctypes.CField` by shihai1991 · Pull Request #14837 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix whitespace
  • Loading branch information
shihai1991 committed Jul 18, 2019
commit 88199f45fa581a83e7228f3d09eca515e76730b6
2 changes: 1 addition & 1 deletion Lib/ctypes/test/test_struct_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Y(X):

def test_5(self):
class X(Structure):
_fields_ = [("x", c_int)]
_fields_ = [("x", c_int)]
CField = type(X.x)
self.assertRaises(TypeError, CField)

Expand Down