Lines Matching defs:TestError
24 static PyObject *TestError; /* set to exception object in init */
26 /* Raise TestError with test_name + ": " + msg, and return NULL. */
31 PyErr_Format(TestError, "%s: %s", test_name, msg);
45 PyErr_Format(TestError,
80 PyErr_Format(TestError, \
88 PyErr_Format(TestError, \
163 PyErr_SetString(TestError,
218 TestError,
338 TestError,
345 TestError,
355 TestError,
363 TestError,
371 TestError,
924 PyErr_Format(TestError, "test_buildvalue_N: "
933 PyErr_Format(TestError, "test_buildvalue_N: "
939 PyErr_Format(TestError, "test_buildvalue_N: "
2384 PyErr_SetString(TestError, "Python string ending in NULL "
2875 PyErr_SetString(TestError,
2888 PyErr_SetString(TestError,
2931 PyErr_SetString(TestError,
4645 TestError = PyErr_NewException("_testcapi.error", NULL, NULL);
4646 Py_INCREF(TestError);
4647 PyModule_AddObject(m, "error", TestError);