summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/ctypes/test/test_functions.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/ctypes/test/test_functions.py b/Lib/ctypes/test/test_functions.py
index d3c6536f27..c5456ba107 100644
--- a/Lib/ctypes/test/test_functions.py
+++ b/Lib/ctypes/test/test_functions.py
@@ -209,15 +209,6 @@ class FunctionTestCase(unittest.TestCase):
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