diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-07-04 17:57:09 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-07-04 17:57:09 (GMT) |
commit | a819caadeffc05d06b1148115b9a254920517a58 (patch) | |
tree | a89001eb3632f07909bae262773a73cb2204c51f /Lib/test/test_format.py | |
parent | d52429fb4957e0acdf36540705bd9ea859070fc5 (diff) | |
download | cpython-a819caadeffc05d06b1148115b9a254920517a58.zip cpython-a819caadeffc05d06b1148115b9a254920517a58.tar.gz cpython-a819caadeffc05d06b1148115b9a254920517a58.tar.bz2 |
Correct a test after r64701.
Diffstat (limited to 'Lib/test/test_format.py')
-rw-r--r-- | Lib/test/test_format.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/test_format.py b/Lib/test/test_format.py index 8bc47d4..6d32e86 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') |