[Python-checkins] cpython (merge 3.5 -> default): Added exceptins for testing non-reversible import mapping for Issue #26013.

serhiy.storchaka python-checkins at python.org
Mon Jan 18 15:34:40 EST 2016


https://hg.python.org/cpython/rev/16cfc1652844
changeset:   99968:16cfc1652844
parent:      99966:35ff0976b211
parent:      99967:7215d13baa2d
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Mon Jan 18 22:34:19 2016 +0200
summary:
  Added exceptins for testing non-reversible import mapping for Issue #26013.

files:
  Lib/test/test_pickle.py |  2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_pickle.py b/Lib/test/test_pickle.py
--- a/Lib/test/test_pickle.py
+++ b/Lib/test/test_pickle.py
@@ -239,6 +239,8 @@
 ALT_IMPORT_MAPPING = {
     ('_elementtree', 'xml.etree.ElementTree'),
     ('cPickle', 'pickle'),
+    ('StringIO', 'io'),
+    ('cStringIO', 'io'),
 }
 
 ALT_NAME_MAPPING = {

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list