]> granicus.if.org Git - python/commitdiff
Revert an earlier attempt (r76810) to fix the intermittent test_capi failures fixed...
authorMark Dickinson <dickinsm@gmail.com>
Sat, 13 Feb 2010 18:37:34 +0000 (18:37 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 13 Feb 2010 18:37:34 +0000 (18:37 +0000)
Modules/_testcapimodule.c

index 5631d5a037ea29098237e1152927998bc5f0fe1a..38243880f7b82745ff2f18c75667ff91b64f0282 100644 (file)
@@ -1771,21 +1771,6 @@ test_capsule(PyObject *self, PyObject *args)
        if (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;
 #undef FAIL
 }