Commit 4b01cf3f authored by Christian Heimes's avatar Christian Heimes

Handle yet another potential failure in testcapi

CID 1058280
parent 6fbe7650
......@@ -2249,6 +2249,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