Commit 745f5e2d authored by Thomas Heller's avatar Thomas Heller

No crashes on Linux in the ctypes test suite any longer, so we can

remove the 'crash-protection'.
parent f4f771fe
......@@ -160,8 +160,6 @@ class FunctionTestCase(unittest.TestCase):
result = f(1, 2, 3, 4, 5.0, 6.0, 21)
self.failUnlessEqual(result, 42)
from ctypes.test import is_resource_enabled
if is_resource_enabled("struni-crash"):
def test_stringresult(self):
f = dll._testfunc_p_p
f.argtypes = None
......
......@@ -67,8 +67,6 @@ class PythonAPITestCase(unittest.TestCase):
del pyobj
self.failUnlessEqual(grc(s), ref)
from ctypes.test import is_resource_enabled
if is_resource_enabled("struni-crash"):
def test_PyOS_snprintf(self):
PyOS_snprintf = pythonapi.PyOS_snprintf
PyOS_snprintf.argtypes = POINTER(c_char), c_size_t, c_char_p
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment