summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-07-04 17:57:09 +0000
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-07-04 17:57:09 +0000
commitd34739a9423a29b28af686b19953c830b08fa537 (patch)
treeeafbbb3a6f002ba54f27e17ecb137fe98bf305f9 /Lib
parenteac71820cc5182defaee9f222da691a052534e95 (diff)
downloadcpython-d34739a9423a29b28af686b19953c830b08fa537.tar.gz
Correct a test after r64701.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_format.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/test_format.py b/Lib/test/test_format.py
index 8bc47d4848..6d32e86513 100644
--- a/Lib/test/test_format.py
+++ b/Lib/test/test_format.py
@@ -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')