Commit edff7af1 authored by Mark Dickinson's avatar Mark Dickinson

Issue #7924: Fix an intermittent 'XXX undetected error' crash in

test_capi, due to test_capsule failing to clear an exception.  Many
thanks to Florent Xicluna for the diagnosis and fix.
parent c2d86891
......@@ -738,6 +738,10 @@ Documentation
Tests
-----
- Issue #7924: Fix an intermittent 'XXX undetected error' failure in
test_capi (only seen so far on platforms where the curses module
wasn't built), due to an uncleared exception.
- issue #7728: test_timeout was changed to use test_support.bind_port
instead of a hard coded port.
......
......@@ -1763,6 +1763,8 @@ test_capsule(PyObject *self, PyObject *args)
Py_DECREF(object);
Py_DECREF(module);
}
else
PyErr_Clear();
}
exit:
......
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