[Python-3000-checkins] r57531 - python/branches/py3k/Lib/test/test_unicode_file.py

guido.van.rossum python-3000-checkins at python.org
Mon Aug 27 01:30:32 CEST 2007


Author: guido.van.rossum
Date: Mon Aug 27 01:30:31 2007
New Revision: 57531

Modified:
   python/branches/py3k/Lib/test/test_unicode_file.py
Log:
Cosmetics in error messages.


Modified: python/branches/py3k/Lib/test/test_unicode_file.py
==============================================================================
--- python/branches/py3k/Lib/test/test_unicode_file.py	(original)
+++ python/branches/py3k/Lib/test/test_unicode_file.py	Mon Aug 27 01:30:31 2007
@@ -13,7 +13,7 @@
 except (UnicodeError, TypeError):
     # Either the file system encoding is None, or the file name
     # cannot be encoded in the file system encoding.
-    raise TestSkipped("No Unicode filesystem semantics on this platform.")
+    raise TestSkipped("No Unicode filesystem semantics on this platform")
 
 if TESTFN_ENCODED.decode(TESTFN_ENCODING) != TESTFN_UNICODE:
     # The file system encoding does not support Latin-1
@@ -27,10 +27,10 @@
             # MBCS will not report the error properly
             raise UnicodeError, "mbcs encoding problem"
     except (UnicodeError, TypeError):
-        raise TestSkipped("Cannot find a suiteable filename.")
+        raise TestSkipped("Cannot find a suitable filename")
 
 if TESTFN_ENCODED.decode(TESTFN_ENCODING) != TESTFN_UNICODE:
-    raise TestSkipped("Cannot find a suitable filename.")
+    raise TestSkipped("Cannot find a suitable filename")
 
 def remove_if_exists(filename):
     if os.path.exists(filename):


More information about the Python-3000-checkins mailing list