Skip to content

Commit 795c8bb

Browse files
Added exceptins for testing non-reversible import mapping for Issue #26013.
2 parents ba361b2 + 6ff3216 commit 795c8bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_pickle.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ def recurse(deep):
239239
ALT_IMPORT_MAPPING = {
240240
('_elementtree', 'xml.etree.ElementTree'),
241241
('cPickle', 'pickle'),
242+
('StringIO', 'io'),
243+
('cStringIO', 'io'),
242244
}
243245

244246
ALT_NAME_MAPPING = {

0 commit comments

Comments
 (0)