Commit ebf4204e authored by Christian Heimes's avatar Christian Heimes

Handle yet another potential failure in testcapi

CID 1058280
parents 9bfcaa6f 66eda26a
......@@ -2263,6 +2263,8 @@ profile_int(PyObject *self, PyObject* args)
/* Test 7: Perform medium int addition */
op1 = PyLong_FromLong(1000);
if (op1 == NULL)
return NULL;
gettimeofday(&start, NULL);
for(i=0; i < 10000000; i++) {
result = PyNumber_Add(op1, op1);
......
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