summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_format.py
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-09-10 23:51:42 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-09-10 23:51:42 (GMT)
commita083f1eb5f436c0f0efda358590fadf88ea3126c (patch)
treecf2159c5b758573626c97d42fbd2db70900a62f8 /Lib/test/test_format.py
parent75080dab8dbcebf7816dfe1310dbefe31b99d06b (diff)
downloadcpython-a083f1eb5f436c0f0efda358590fadf88ea3126c.zip
cpython-a083f1eb5f436c0f0efda358590fadf88ea3126c.tar.gz
cpython-a083f1eb5f436c0f0efda358590fadf88ea3126c.tar.bz2
The Unicode database was updated to 5.1, and some characters have become printable.
Change the tests and use another code point.
Diffstat (limited to 'Lib/test/test_format.py')
-rw-r--r--Lib/test/test_format.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_format.py b/Lib/test/test_format.py
index 6d32e86..c90f66d 100644
--- a/Lib/test/test_format.py
+++ b/Lib/test/test_format.py
@@ -216,8 +216,8 @@ class FormatTest(unittest.TestCase):
testformat("%o", 0o42, "42")
testformat("%o", -0o42, "-42")
testformat("%o", float(0o42), "42")
- testformat("%r", "\u0370", "'\\u0370'") # non printable
- testformat("%a", "\u0370", "'\\u0370'") # non printable
+ testformat("%r", "\u0378", "'\\u0378'") # non printable
+ testformat("%a", "\u0378", "'\\u0378'") # non printable
testformat("%r", "\u0374", "'\u0374'") # printable
testformat("%a", "\u0374", "'\\u0374'") # printable
# Test exception for unknown format characters