diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-09-29 16:59:46 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-09-29 16:59:46 (GMT) |
commit | 15d597a2454e5070cec2ebfe072480ed8f01d720 (patch) | |
tree | 8d0b272b118a6186cd862d07ae30305a06eef02d /Lib/test/test_imp.py | |
parent | 16004ace5bb9b566b68e9016926e88d78edbbf50 (diff) | |
download | cpython-15d597a2454e5070cec2ebfe072480ed8f01d720.zip cpython-15d597a2454e5070cec2ebfe072480ed8f01d720.tar.gz cpython-15d597a2454e5070cec2ebfe072480ed8f01d720.tar.bz2 |
test_imp: getfilesystemencoding() cannot be None anymore
And the codec name is normalized.
Diffstat (limited to 'Lib/test/test_imp.py')
-rw-r--r-- | Lib/test/test_imp.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_imp.py b/Lib/test/test_imp.py index eb9eaef..c71a4c7 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 |