summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorIan Lee <IanLee1521@gmail.com>2015-01-12 23:51:02 -0800
committerIan Lee <IanLee1521@gmail.com>2015-01-12 23:51:02 -0800
commit73b1e63e48d46ba39ed13d775e8efdb784198cf3 (patch)
tree359ea0dfd9a71d323a1fdea08766f7b71851aa81 /testsuite
parentcfa24ab02e24914038c55286dbb2f19d1ccf9a31 (diff)
downloadpep8-73b1e63e48d46ba39ed13d775e8efdb784198cf3.tar.gz
Add flush method to test support PseudoFile object; issue #363
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/support.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/support.py b/testsuite/support.py
index 5185005..6bc795d 100644
--- a/testsuite/support.py
+++ b/testsuite/support.py
@@ -16,6 +16,9 @@ class PseudoFile(list):
def getvalue(self):
return ''.join(self)
+ def flush(self):
+ pass
+
class TestReport(StandardReport):
"""Collect the results for the tests."""