summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-01-18 20:33:44 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-01-18 20:33:44 (GMT)
commit5c1d9d2ff7ac50a65fb3053549b7897c5162d83e (patch)
treea7b9d69fa8833b491a724690b9d7f357bcb9e545
parent111c7b9011c5838f8276e8729bc8cbeb693d4ac7 (diff)
downloadcpython-5c1d9d2ff7ac50a65fb3053549b7897c5162d83e.zip
cpython-5c1d9d2ff7ac50a65fb3053549b7897c5162d83e.tar.gz
cpython-5c1d9d2ff7ac50a65fb3053549b7897c5162d83e.tar.bz2
Added exceptins for testing non-reversible import mapping for Issue #26013.
-rw-r--r--Lib/test/test_pickle.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_pickle.py b/Lib/test/test_pickle.py
index bd38cfb..ee7a667 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 = {