From 5c1d9d2ff7ac50a65fb3053549b7897c5162d83e Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Mon, 18 Jan 2016 22:33:44 +0200 Subject: [PATCH] Added exceptins for testing non-reversible import mapping for Issue #26013. --- Lib/test/test_pickle.py | 2 ++ 1 file changed, 2 insertions(+) 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 = {