From ac885a907525589aa56266d9a2527cdc7127c9cb Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 10 Nov 2009 18:44:08 -0500 Subject: All strings passed to Python are now Unicode objects --- test/convert.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/convert.py') diff --git a/test/convert.py b/test/convert.py index d61da790..0c64fde4 100755 --- a/test/convert.py +++ b/test/convert.py @@ -150,6 +150,7 @@ for line in fd.readlines(): line = re.sub('set_session_context\(\)', 'set_session_context()\n self.testSession = None', line) line = re.sub('([a-z_]+?)_t\b', '\\1', line) + line = re.sub('("[^"]+")', 'u\\1', line) line = re.sub('std::string\(([^)]+?)\)', '\\1', line) line = re.sub('string\(([^)]+?)\)', '\\1', line) line = re.sub('\.print\(([^)]+?)\)', '.print_(\\1)', line) -- cgit v1.2.3