After renaming the first test_errors method to test_errors_1 and the
second one to test_errors_2:
$ /bin/sh -c "cd Lib/ctypes/test; ../../../python runtests.py test_functions.py"
....F................
======================================================================
FAIL: test_errors_1 (ctypes.test.test_functions.FunctionTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./Lib/ctypes/test/test_functions.py", line 227, in test_errors_1
self.assertRaises(TypeError, f, X()) #cannot convert parameter
AssertionError: TypeError not raised by _testfunc_p_p
----------------------------------------------------------------------
Ran 21 tests in 0.007s
FAILED (failures=1) |