summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/li_std_wstring_inherit_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/python/li_std_wstring_inherit_runme.py')
-rw-r--r--Examples/test-suite/python/li_std_wstring_inherit_runme.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Examples/test-suite/python/li_std_wstring_inherit_runme.py b/Examples/test-suite/python/li_std_wstring_inherit_runme.py
index 5a8569a6f..bd585890c 100644
--- a/Examples/test-suite/python/li_std_wstring_inherit_runme.py
+++ b/Examples/test-suite/python/li_std_wstring_inherit_runme.py
@@ -1,10 +1,10 @@
import li_std_wstring_inherit
import sys
-x = u"hello"
+x = "hello"
-s = li_std_wstring_inherit.wstring(u"he")
-s = s + u"llo"
+s = li_std_wstring_inherit.wstring("he")
+s = s + "llo"
if s != x:
raise RuntimeError("bad string mapping {} {}".format(s, x))
@@ -33,12 +33,12 @@ if not li_std_wstring_inherit.is_python_builtin():
b = li_std_wstring_inherit.B("hi")
-b.name = li_std_wstring_inherit.wstring(u"hello")
+b.name = li_std_wstring_inherit.wstring("hello")
if b.name != "hello":
raise RuntimeError("bad string mapping")
b.a = li_std_wstring_inherit.A("hello")
-if b.a != u"hello":
+if b.a != "hello":
raise RuntimeError("bad string mapping")