There was an error while loading. Please reload this page.
1 parent 12ce58f commit e7c80b9Copy full SHA for e7c80b9
1 file changed
Modules/_testcapi/exceptions.c
@@ -70,7 +70,6 @@ _testcapi_err_givenexceptionmatches_impl(PyObject *module, PyObject *err,
70
{
71
assert(!PyErr_Occurred());
72
int res = PyErr_GivenExceptionMatches(err, exc);
73
- /* The function has no failure return, but it can set RecursionError. */
74
if (res == 0 && PyErr_Occurred()) {
75
return NULL;
76
}
0 commit comments