r77896 - python/branches/py3k/Lib/doctest.py
31 Jan
2010
31 Jan
'10
11:12 p.m.
Author: antoine.pitrou Date: Mon Feb 1 00:12:29 2010 New Revision: 77896 Log: r77895 broke doctest. Modified: python/branches/py3k/Lib/doctest.py Modified: python/branches/py3k/Lib/doctest.py ============================================================================== --- python/branches/py3k/Lib/doctest.py (original) +++ python/branches/py3k/Lib/doctest.py Mon Feb 1 00:12:29 2010 @@ -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):
5370
Age (days ago)
5370
Last active (days ago)
0 comments
1 participants
participants (1)
-
antoine.pitrou