From 15d597a2454e5070cec2ebfe072480ed8f01d720 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 29 Sep 2010 16:59:46 +0000 Subject: [PATCH] test_imp: getfilesystemencoding() cannot be None anymore And the codec name is normalized. --- Lib/test/test_imp.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/test/test_imp.py b/Lib/test/test_imp.py index eb9eaefb3f6..c71a4c75534 100644 --- a/Lib/test/test_imp.py +++ b/Lib/test/test_imp.py @@ -87,7 +87,6 @@ class ImportTests(unittest.TestCase): # 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