diff options
author | Armin Rigo <armin.rigo@gmail.com> | 2021-07-07 09:28:22 +0000 |
---|---|---|
committer | Armin Rigo <armin.rigo@gmail.com> | 2021-07-07 09:28:22 +0000 |
commit | d1b7d72272d5227b06a6f0fa9be0f27a2f3d4dd9 (patch) | |
tree | a5c65bd1cfed337c499cdcbb5936e59909d6c188 | |
parent | b9cbd7792003f9a262cfaf5ff6a1bc553e5ab6e4 (diff) | |
parent | fa4c08b90bc9929f3e42e71a5445e3e1cf07f030 (diff) | |
download | cffi-d1b7d72272d5227b06a6f0fa9be0f27a2f3d4dd9.tar.gz |
Merge branch 'branch/fix_filelike_flush' into 'branch/default'
fixed test failures in Unraisable error collector
See merge request pypy/cffi!105
-rw-r--r-- | cffi/_cffi_errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cffi/_cffi_errors.h b/cffi/_cffi_errors.h index 83cdad0..158e059 100644 --- a/cffi/_cffi_errors.h +++ b/cffi/_cffi_errors.h @@ -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" |