Skip to content
Merged
Changes from all commits
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
9 changes: 0 additions & 9 deletions Lib/ctypes/test/test_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,6 @@ def test_pointers(self):
result = f(byref(c_int(99)))
self.assertNotEqual(result.contents, 99)

def test_errors(self):
f = dll._testfunc_p_p
f.restype = c_int

class X(Structure):
_fields_ = [("y", c_int)]

self.assertRaises(TypeError, f, X()) #cannot convert parameter

################################################################
def test_shorts(self):
f = dll._testfunc_callback_i_if
Expand Down