diff options
| author | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2003-08-06 18:37:58 +0000 |
|---|---|---|
| committer | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2003-08-06 18:37:58 +0000 |
| commit | 0aa24ff31d1a444d1a63aec4f17a735be188da62 (patch) | |
| tree | 1d69aa98355874580943fc3c271efaa158fa709a /docutils/test | |
| parent | 95bb7e55700cb630febe6be7d6cd895fa6e5f4d1 (diff) | |
| download | docutils-0aa24ff31d1a444d1a63aec4f17a735be188da62.tar.gz | |
support wide Unicode builds
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@1621 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test')
| -rwxr-xr-x | docutils/test/test_parsers/test_rst/test_directives/test_unicode.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docutils/test/test_parsers/test_rst/test_directives/test_unicode.py b/docutils/test/test_parsers/test_rst/test_directives/test_unicode.py index e595a1ae7..a46af969e 100755 --- a/docutils/test/test_parsers/test_rst/test_directives/test_unicode.py +++ b/docutils/test/test_parsers/test_rst/test_directives/test_unicode.py @@ -124,26 +124,26 @@ u"""\ \u2122 """], [""" -.. |too big for int| unicode:: 0x1111111111 +.. |too big for int| unicode:: 0x111111111111111111 .. |too big for unicode| unicode:: 0x11111111 """, """\ <document source="test data"> <system_message level="3" line="2" source="test data" type="ERROR"> <paragraph> - Invalid character code: 0x1111111111 + Invalid character code: 0x111111111111111111 OverflowError: long int too large to convert to int <literal_block xml:space="preserve"> - unicode:: 0x1111111111 + unicode:: 0x111111111111111111 <system_message level="2" line="2" source="test data" type="WARNING"> <paragraph> Substitution definition "too big for int" empty or invalid. <literal_block xml:space="preserve"> - .. |too big for int| unicode:: 0x1111111111 + .. |too big for int| unicode:: 0x111111111111111111 <system_message level="3" line="3" source="test data" type="ERROR"> <paragraph> Invalid character code: 0x11111111 - ValueError: unichr() arg not in range(0x10000) (narrow Python build) + %s <literal_block xml:space="preserve"> unicode:: 0x11111111 <system_message level="2" line="3" source="test data" type="WARNING"> @@ -151,7 +151,7 @@ u"""\ Substitution definition "too big for unicode" empty or invalid. <literal_block xml:space="preserve"> .. |too big for unicode| unicode:: 0x11111111 -"""], +""" % DocutilsTestSupport.exception_data('unichr(0x11111111)')[2]], ] |
