diff options
author | Guido van Rossum <guido@python.org> | 1997-07-17 14:51:37 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-17 14:51:37 (GMT) |
commit | 75fce308bc79ab1f0774e9b3f61031121994e5df (patch) | |
tree | 243fc81ad5f1737ecff230d4a036ccb67283be40 | |
parent | db2b70cb99377ced6bca4ef96fcfbc1eaa83e0d3 (diff) | |
download | cpython-75fce308bc79ab1f0774e9b3f61031121994e5df.zip cpython-75fce308bc79ab1f0774e9b3f61031121994e5df.tar.gz cpython-75fce308bc79ab1f0774e9b3f61031121994e5df.tar.bz2 |
Add flush() method to fake file.
-rwxr-xr-x | Lib/test/regrtest.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 431863e..ea4f4ce 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -171,6 +171,9 @@ class Compare: raise test_support.TestFailed, \ 'Writing: '+`data`+', expected: '+`expected` + def flush(self): + pass + def close(self): leftover = self.fp.read() if leftover: |