From 539681fffd96082ca3b5d18643d4f08f65c47170 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 5 Jul 2014 06:14:29 +0100 Subject: tests: Rename test scripts, changing - to _ for consistency. From now on, all new tests must use underscore. Addresses issue #727. --- tests/basics/string_escape.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/basics/string_escape.py (limited to 'tests/basics/string_escape.py') diff --git a/tests/basics/string_escape.py b/tests/basics/string_escape.py new file mode 100644 index 0000000000..000a8713e6 --- /dev/null +++ b/tests/basics/string_escape.py @@ -0,0 +1,11 @@ +a = "a\1b" +print(len(a)) +print(ord(a[1])) +print(len("a\123b")) +a = "a\12345b" +print(len(a)) +print(ord(a[1])) + +a = "a\xffb" +print(len(a)) +print(ord(a[1])) -- cgit v1.2.3