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

View File

@ -475,12 +475,7 @@ class TestCommentsViewlet(unittest.TestCase):
python_time = datetime( python_time = datetime(
*time.gmtime(time.mktime(python_time.timetuple()))[:7]) *time.gmtime(time.mktime(python_time.timetuple()))[:7])
localized_time = self.viewlet.format_time(python_time) localized_time = self.viewlet.format_time(python_time)
# trying to get rid of this failure: self.assertEqual(localized_time, 'Feb 01, 2009 11:32 PM')
# 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')
def test_suite(): def test_suite():