]> granicus.if.org Git - python/commitdiff
Added exceptins for testing non-reversible import mapping for Issue #26013.
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 18 Jan 2016 20:33:44 +0000 (22:33 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 18 Jan 2016 20:33:44 +0000 (22:33 +0200)
Lib/test/test_pickle.py

index bd38cfbea9380b7d1122d817d42f3283ef391302..ee7a667d0614f2975c44e8f17dc0dd4ac99beda6 100644 (file)
@@ -244,6 +244,8 @@ if has_c_implementation:
 ALT_IMPORT_MAPPING = {
     ('_elementtree', 'xml.etree.ElementTree'),
     ('cPickle', 'pickle'),
+    ('StringIO', 'io'),
+    ('cStringIO', 'io'),
 }
 
 ALT_NAME_MAPPING = {