bpo-19113: Remove unused test_errors from ctypes tests (GH-28008) · python/cpython@a561005

Original file line numberDiff line numberDiff line change

@@ -209,15 +209,6 @@ def test_pointers(self):

209209

result = f(byref(c_int(99)))

210210

self.assertNotEqual(result.contents, 99)

211211
212-

def test_errors(self):

213-

f = dll._testfunc_p_p

214-

f.restype = c_int

215-
216-

class X(Structure):

217-

_fields_ = [("y", c_int)]

218-
219-

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

220-
221212

################################################################

222213

def test_shorts(self):

223214

f = dll._testfunc_callback_i_if