mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Correct a test after r64701.
This commit is contained in:
parent
d52429fb49
commit
a819caadef
1 changed files with 4 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue