From 26a9975fba2bbd8875f2671495003b9bdcb8d8b2 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 14 Mar 2015 21:20:58 +0000 Subject: tests: Add some more tests for bytes, bignum, string and ujson. --- tests/basics/string_format_modulo.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/basics/string_format_modulo.py') diff --git a/tests/basics/string_format_modulo.py b/tests/basics/string_format_modulo.py index f3f57b45a..a1c31def9 100644 --- a/tests/basics/string_format_modulo.py +++ b/tests/basics/string_format_modulo.py @@ -1,3 +1,4 @@ +print("%%" % ()) print("=%s=" % 1) print("=%s=%s=" % (1, 2)) print("=%s=" % (1,)) @@ -23,6 +24,7 @@ except TypeError: print("%s" % True) print("%s" % 1) +print("%.1s" % "ab") print("%r" % True) print("%r" % 1) -- cgit v1.2.3