summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-09-29 16:59:46 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-09-29 16:59:46 (GMT)
commit15d597a2454e5070cec2ebfe072480ed8f01d720 (patch)
tree8d0b272b118a6186cd862d07ae30305a06eef02d /Lib
parent16004ace5bb9b566b68e9016926e88d78edbbf50 (diff)
downloadcpython-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')
-rw-r--r--Lib/test/test_imp.py1
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