diff --git a/Lib/test/test_pickle.py b/Lib/test/test_pickle.py index bd38cfbea93..ee7a667d061 100644 --- a/Lib/test/test_pickle.py +++ b/Lib/test/test_pickle.py @@ -244,6 +244,8 @@ if has_c_implementation: ALT_IMPORT_MAPPING = { ('_elementtree', 'xml.etree.ElementTree'), ('cPickle', 'pickle'), + ('StringIO', 'io'), + ('cStringIO', 'io'), } ALT_NAME_MAPPING = {