]> granicus.if.org Git - python/commitdiff
Correct a test after r64701.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Fri, 4 Jul 2008 17:57:09 +0000 (17:57 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Fri, 4 Jul 2008 17:57:09 +0000 (17:57 +0000)
Lib/test/test_format.py

index 8bc47d48482654beac80b86c33150ffe21bbbba3..6d32e86513a6f987d70aff715182b1f98247bad9 100644 (file)
@@ -216,8 +216,10 @@ class FormatTest(unittest.TestCase):
         testformat("%o", 0o42, "42")
         testformat("%o", -0o42, "-42")
         testformat("%o", float(0o42), "42")
-        testformat("%r", "\u0370", "'\u0370'")
-        testformat("%a", "\u0370", "'\\u0370'")
+        testformat("%r", "\u0370", "'\\u0370'")  # non printable
+        testformat("%a", "\u0370", "'\\u0370'")  # non printable
+        testformat("%r", "\u0374", "'\u0374'")   # printable
+        testformat("%a", "\u0374", "'\\u0374'")  # printable
         # Test exception for unknown format characters
         if verbose:
             print('Testing exceptions')