mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Added exceptins for testing non-reversible import mapping for Issue #26013.
This commit is contained in:
parent
111c7b9011
commit
5c1d9d2ff7
1 changed files with 2 additions and 0 deletions
|
|
@ -244,6 +244,8 @@ if has_c_implementation:
|
||||||
ALT_IMPORT_MAPPING = {
|
ALT_IMPORT_MAPPING = {
|
||||||
('_elementtree', 'xml.etree.ElementTree'),
|
('_elementtree', 'xml.etree.ElementTree'),
|
||||||
('cPickle', 'pickle'),
|
('cPickle', 'pickle'),
|
||||||
|
('StringIO', 'io'),
|
||||||
|
('cStringIO', 'io'),
|
||||||
}
|
}
|
||||||
|
|
||||||
ALT_NAME_MAPPING = {
|
ALT_NAME_MAPPING = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue