From f9ca4497bde3f8e35d6f320934d44c84eb96295a Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Wed, 6 Oct 2010 08:47:24 +0000 Subject: [PATCH] Obey the 80 chars limit. svn path=/plone.app.discussion/trunk/; revision=40526 --- plone/app/discussion/tests/test_comments_viewlet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plone/app/discussion/tests/test_comments_viewlet.py b/plone/app/discussion/tests/test_comments_viewlet.py index a3ad64d..2fa1af6 100644 --- a/plone/app/discussion/tests/test_comments_viewlet.py +++ b/plone/app/discussion/tests/test_comments_viewlet.py @@ -368,7 +368,8 @@ class TestCommentsViewlet(PloneTestCase): # a correct utc time that can be used to make datetime set the utc # time of the local time given above. That way, the time for the # example below is correct within each time zone, independent of DST - python_time = datetime(*time.gmtime(time.mktime(python_time.timetuple()))[:7]) + python_time = datetime( + *time.gmtime(time.mktime(python_time.timetuple()))[:7]) localized_time = self.viewlet.format_time(python_time) self.assertEquals(localized_time, "Feb 01, 2009 11:32 PM")