STINNER Victor <vstin...@redhat.com> added the comment:

> res = PyObject_CallMethodObjArgs(self, _PyIO_str_flush, NULL);
> assert(!PyErr_Occurred());     /* <---- THIS ASSERTION FAILS */

Using this additional assertion, test_io also fails on 
test_flush_error_on_close().

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34068>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to