mirror of
https://github.com/python/cpython.git
synced 2025-11-08 21:52:45 +00:00
Revert an earlier attempt (r76810) to fix the intermittent test_capi failures fixed in r78172.
This commit is contained in:
parent
edff7af1cf
commit
bb13fbf92a
1 changed files with 0 additions and 15 deletions
|
|
@ -1771,21 +1771,6 @@ test_capsule(PyObject *self, PyObject *args)
|
||||||
if (error) {
|
if (error) {
|
||||||
return raiseTestError("test_capsule", error);
|
return raiseTestError("test_capsule", error);
|
||||||
}
|
}
|
||||||
/* 13/12/2009: something is causing test_capi to fail occasionally on
|
|
||||||
the Solaris buildbot, with the output:
|
|
||||||
|
|
||||||
internal test_L_code
|
|
||||||
internal test_Z_code
|
|
||||||
internal test_bug_7414
|
|
||||||
internal test_capsule
|
|
||||||
XXX undetected error
|
|
||||||
internaltest test_capi crashed -- <class 'ImportError'>: No module named datetime
|
|
||||||
|
|
||||||
It seems possible that test_capsule is raising an exception but
|
|
||||||
failing to return NULL. Do a PyErr_Occurred check to find out.
|
|
||||||
*/
|
|
||||||
if (PyErr_Occurred())
|
|
||||||
return NULL;
|
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
#undef FAIL
|
#undef FAIL
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue