[Python-3000-checkins] r64709 - python/branches/py3k/Lib/test/test_format.py

amaury.forgeotdarc python-3000-checkins at python.org
Fri Jul 4 19:57:09 CEST 2008


Author: amaury.forgeotdarc
Date: Fri Jul  4 19:57:09 2008
New Revision: 64709

Log:
Correct a test after r64701.


Modified:
   python/branches/py3k/Lib/test/test_format.py

Modified: python/branches/py3k/Lib/test/test_format.py
==============================================================================
--- python/branches/py3k/Lib/test/test_format.py	(original)
+++ python/branches/py3k/Lib/test/test_format.py	Fri Jul  4 19:57:09 2008
@@ -216,8 +216,10 @@
         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')


More information about the Python-3000-checkins mailing list