mirror of
https://github.com/python/cpython.git
synced 2025-08-26 11:45:20 +00:00
The Unicode database was updated to 5.1, and some characters have become printable.
Change the tests and use another code point.
This commit is contained in:
parent
75080dab8d
commit
a083f1eb5f
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue