diff options
author | Matt Davis <mrd@redhat.com> | 2021-07-07 00:22:07 -0700 |
---|---|---|
committer | Matt Davis <mrd@redhat.com> | 2021-07-07 00:22:07 -0700 |
commit | fa4c08b90bc9929f3e42e71a5445e3e1cf07f030 (patch) | |
tree | a5c65bd1cfed337c499cdcbb5936e59909d6c188 /cffi | |
parent | b9cbd7792003f9a262cfaf5ff6a1bc553e5ab6e4 (diff) | |
download | cffi-fix_filelike_flush.tar.gz |
fixed test failures in Unraisable error collectorfix_filelike_flush
Diffstat (limited to 'cffi')
-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" |