_Py_write() to know which test failed on the buildbot "AMD64 Snow Leop 3.x".
if (async_err) {
/* read() was interrupted by a signal (failed with EINTR)
* and the Python signal handler raised an exception */
- assert(errno == EINTR && PyErr_Occurred());
+ assert(errno == EINTR);
+ assert(PyErr_Occurred());
return -1;
}
if (n < 0) {
if (async_err) {
/* write() was interrupted by a signal (failed with EINTR)
* and the Python signal handler raised an exception */
- assert(errno == EINTR && PyErr_Occurred());
+ assert(errno == EINTR);
+ assert(PyErr_Occurred());
return -1;
}
if (n < 0) {