diff options
author | Damien George <damien.p.george@gmail.com> | 2015-03-14 21:20:58 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-03-14 21:20:58 +0000 |
commit | 26a9975fba2bbd8875f2671495003b9bdcb8d8b2 (patch) | |
tree | 6ea4e71ed0dde88d41ab29742c740faf6ee615e6 /tests/basics/string_format_modulo.py | |
parent | 0683c1ceefe328399d967b85f172544eef04a832 (diff) |
tests: Add some more tests for bytes, bignum, string and ujson.
Diffstat (limited to 'tests/basics/string_format_modulo.py')
-rw-r--r-- | tests/basics/string_format_modulo.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |