From 7708c03b89611ade6267340043f561f358ca4e19 Mon Sep 17 00:00:00 2001 From: milde Date: Tue, 27 Aug 2019 12:09:19 +0000 Subject: py3: Replace 'ur' prefix While the 'u' prefix was backported to Python 3.3 or thereabouts, 'ur' remains invalid in Python 3. Just escape all backslashes and use plain old 'u'. Based on patch by Stephen Finucane git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8366 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docutils/test/test_parsers/test_rst/test_east_asian_text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docutils/test') diff --git a/docutils/test/test_parsers/test_rst/test_east_asian_text.py b/docutils/test/test_parsers/test_rst/test_east_asian_text.py index 436d1da94..22995ee3f 100755 --- a/docutils/test/test_parsers/test_rst/test_east_asian_text.py +++ b/docutils/test/test_parsers/test_rst/test_east_asian_text.py @@ -50,12 +50,12 @@ u"""\ タイトル2 ======== """], -[ur""" +[u""" +-----------------------+ | * ヒョウ:ダイ1ギョウ | | * ダイ2ギョウ | +-----------------------+ -| \* ダイ1ギョウ | +| \\* ダイ1ギョウ | | * ダイ2ギョウ | +-----------------------+ """, -- cgit v1.2.1