From eb6f63b57f494c956c447ab05486cc2762540cb9 Mon Sep 17 00:00:00 2001 From: milde Date: Mon, 13 Aug 2012 23:30:52 +0000 Subject: [PATCH] Date encoding test failed with Python 2.4. git-svn-id: https://docutils.svn.sourceforge.net/svnroot/docutils/trunk/docutils@7491 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- test/test_parsers/test_rst/test_directives/test_date.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/test_parsers/test_rst/test_directives/test_date.py b/test/test_parsers/test_rst/test_directives/test_date.py index 64ad4d429..aa027db07 100755 --- a/test/test_parsers/test_rst/test_directives/test_date.py +++ b/test/test_parsers/test_rst/test_directives/test_date.py @@ -61,15 +61,15 @@ Today's date is |date|. if locale_encoding in ['utf8', 'utf-8', 'latin-1']: totest['decode date'] = [ [u"""\ - .. |date| date:: t\xc3glich - """, +.. |date| date:: t\xc3glich +""", u"""\ - - - t\xc3glich - """], + + + t\xc3glich +"""], ] - + if __name__ == '__main__': import unittest unittest.main(defaultTest='suite') -- 2.11.4.GIT