summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pickle.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-01-18 20:34:19 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-01-18 20:34:19 (GMT)
commit9d4f3d81c79c5dc40e76a8ae15f474d98eef1a60 (patch)
tree32bbb6b13e9e0a337c53ebc54c621acf185af45d /Lib/test/test_pickle.py
parent905a97d4c28a6bd924eda0234af8f3398bde5fe7 (diff)
parent5c1d9d2ff7ac50a65fb3053549b7897c5162d83e (diff)
downloadcpython-9d4f3d81c79c5dc40e76a8ae15f474d98eef1a60.zip
cpython-9d4f3d81c79c5dc40e76a8ae15f474d98eef1a60.tar.gz
cpython-9d4f3d81c79c5dc40e76a8ae15f474d98eef1a60.tar.bz2
Added exceptins for testing non-reversible import mapping for Issue #26013.
Diffstat (limited to 'Lib/test/test_pickle.py')
-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 6b97315..e2ba1ad 100644
--- a/Lib/test/test_pickle.py
+++ b/Lib/test/test_pickle.py
@@ -239,6 +239,8 @@ if has_c_implementation:
ALT_IMPORT_MAPPING = {
('_elementtree', 'xml.etree.ElementTree'),
('cPickle', 'pickle'),
+ ('StringIO', 'io'),
+ ('cStringIO', 'io'),
}
ALT_NAME_MAPPING = {