[Python-checkins] r85117 - python/branches/py3k/Lib/test/test_imp.py

victor.stinner python-checkins at python.org
Wed Sep 29 18:59:46 CEST 2010


Author: victor.stinner
Date: Wed Sep 29 18:59:46 2010
New Revision: 85117

Log:
test_imp: getfilesystemencoding() cannot be None anymore

And the codec name is normalized.


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

Modified: python/branches/py3k/Lib/test/test_imp.py
==============================================================================
--- python/branches/py3k/Lib/test/test_imp.py	(original)
+++ python/branches/py3k/Lib/test/test_imp.py	Wed Sep 29 18:59:46 2010
@@ -87,7 +87,6 @@
 
         # the return encoding could be uppercase or None
         fs_encoding = sys.getfilesystemencoding()
-        fs_encoding = fs_encoding.lower() if fs_encoding else 'ascii'
 
         # covers utf-8 and Windows ANSI code pages
         # one non-space symbol from every page


More information about the Python-checkins mailing list