Revert "Attempt to fix test_format_time()."

This reverts commit c231794940.
This commit is contained in:
David Glick 2012-08-02 22:21:26 -07:00
parent 7fe9f062e8
commit 58b4205f38
1 changed files with 1 additions and 6 deletions

View File

@ -475,12 +475,7 @@ class TestCommentsViewlet(unittest.TestCase):
python_time = datetime(
*time.gmtime(time.mktime(python_time.timetuple()))[:7])
localized_time = self.viewlet.format_time(python_time)
# trying to get rid of this failure:
# https://jenkins.plone.org/job/plone-4.3-tests/lastFailedBuild/testReport/junit/plone.app.discussion.tests.test_comments_viewlet/TestCommentsViewlet/test_format_time/
# ... (but suspecting that now "plone-4.3-ecosystem" will fail, do they use different language settings?)
# self.assertEqual(localized_time, 'Feb 01, 2009 11:32 PM')
#
self.assertEqual(localized_time, '2009-02-01 23:32')
self.assertEqual(localized_time, 'Feb 01, 2009 11:32 PM')
def test_suite():