Commit 57d6b83c authored by Matt Davis's avatar Matt Davis
Browse files

fixed test failures in Unraisable error collector

--HG--
branch : fix_filelike_flush
parent a3f5df93ca8a
......@@ -54,6 +54,8 @@ static PyObject *_cffi_start_error_capture(void)
" of.write(x)\n"
" except: pass\n"
" self.buf += x\n"
" def flush(self):\n"
" pass\n"
"fl = FileLike()\n"
"fl.buf = ''\n"
"of = sys.stderr\n"
......
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