Home
last modified time | relevance | path

Searched refs:IMPORT_MAPPING (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/
D_compat_pickle.py8 IMPORT_MAPPING = { variable
165 REVERSE_IMPORT_MAPPING = dict((v, k) for (k, v) in IMPORT_MAPPING.items())
166 assert len(REVERSE_IMPORT_MAPPING) == len(IMPORT_MAPPING)
172 IMPORT_MAPPING.update({
Dpickle.py1577 elif module in _compat_pickle.IMPORT_MAPPING:
1578 module = _compat_pickle.IMPORT_MAPPING[module]
/external/python/cpython3/Lib/test/
Dtest_pickle.py1 from _compat_pickle import (IMPORT_MAPPING, REVERSE_IMPORT_MAPPING,
353 elif module in IMPORT_MAPPING:
354 module = IMPORT_MAPPING[module]
394 modules = set(IMPORT_MAPPING.values())
412 self.assertIn(module2, IMPORT_MAPPING)
413 self.assertEqual(IMPORT_MAPPING[module2], module3)
436 for module2, module3 in IMPORT_MAPPING.items():
452 module = IMPORT_MAPPING.get(module, module)