Commit 0e9d4584 authored by Antoine Pitrou's avatar Antoine Pitrou

r77895 broke doctest.

parent 57408761
......@@ -247,7 +247,8 @@ class _SpoofOut(StringIO):
return result
def truncate(self, size=None):
StringIO.truncate(self, size)
self.seek(size)
StringIO.truncate(self)
# Worst-case linear-time ellipsis matching.
def _ellipsis_match(want, got):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment