commit | b3d77007f4e682c77c0c11439fc9d333a23d7f8b | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sun Jan 31 23:12:29 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sun Jan 31 23:12:29 2010 +0000 |
tree | 16aa657d20de23f2af1aa505b232936e7b7acfe5 | |
parent | 905a2ffe3e5445925a669ab433521ddb66cf1043 [diff] |
r77895 broke doctest.
diff --git a/Lib/doctest.py b/Lib/doctest.py index e80e74d..d6fb504 100644 --- a/Lib/doctest.py +++ b/Lib/doctest.py
@@ -247,7 +247,8 @@ 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):