summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLib/test/regrtest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 41e750f..e842e81 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -177,6 +177,9 @@ class Compare:
raise test_support.TestFailed, \
'Writing: '+`data`+', expected: '+`expected`
+ def writelines(self, listoflines):
+ map(self.write, listoflines)
+
def flush(self):
pass