Commit 15d597a2 authored by Victor Stinner's avatar Victor Stinner

test_imp: getfilesystemencoding() cannot be None anymore

And the codec name is normalized.
parent 16004ace
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment