From: Leandro Lucarella Date: Tue, 1 Apr 2008 03:01:37 +0000 (-0300) Subject: Bugfix: arreglar testcase de función auxiliar summarize(). X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/commitdiff_plain/88ea281ffd8701782276f9c145ad17386a900ec2?ds=inline Bugfix: arreglar testcase de función auxiliar summarize(). --- diff --git a/sercom/controllers.py b/sercom/controllers.py index b75911a..944d50b 100644 --- a/sercom/controllers.py +++ b/sercom/controllers.py @@ -153,7 +153,7 @@ def summarize(text, size, concat=True, continuation='...'): >>> summarize(text, 68, False, ' [...]') 'Why is it that nobody remembers the name of Johann\nGambolputty [...]' >>> summarize(text, 68, continuation=' >>') - 'Why is it that nobody remembers the name of Johann Gambolputty de >>' + 'Why is it that nobody remembers the name of Johann\nGambolputty de >>' """ if text is not None: if concat: