diff options
Diffstat (limited to 'Examples/test-suite/python/li_cstring_runme.py')
-rw-r--r-- | Examples/test-suite/python/li_cstring_runme.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Examples/test-suite/python/li_cstring_runme.py b/Examples/test-suite/python/li_cstring_runme.py index 55b51d1c7..b718f1352 100644 --- a/Examples/test-suite/python/li_cstring_runme.py +++ b/Examples/test-suite/python/li_cstring_runme.py @@ -7,7 +7,7 @@ if count("ab\0ab\0ab\0", 0) != 3: if test1() != "Hello World": raise RuntimeError -if test2() != " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_": +if test2() != " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_": raise RuntimeError if test3("hello") != "hello-suffix": @@ -18,14 +18,14 @@ if test4("hello") != "hello-suffix": print test4("hello") raise RuntimeError -if test5(4) != 'xxxx': +if test5(4) != "xxxx": raise RuntimeError -if test6(10) != 'xxxxx': +if test6(10) != "xxxxx": raise RuntimeError if test7() != "Hello world!": raise RuntimeError -if test8() != " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_": +if test8() != " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_": raise RuntimeError |