(self)
| 701 | |
| 702 | class CompatPickleTests(unittest.TestCase): |
| 703 | def test_import(self): |
| 704 | modules = set(IMPORT_MAPPING.values()) |
| 705 | modules |= set(REVERSE_IMPORT_MAPPING) |
| 706 | modules |= {module for module, name in REVERSE_NAME_MAPPING} |
| 707 | modules |= {module for module, name in NAME_MAPPING.values()} |
| 708 | for module in modules: |
| 709 | try: |
| 710 | getmodule(module) |
| 711 | except ImportError: |
| 712 | pass |
| 713 | |
| 714 | def test_import_mapping(self): |
| 715 | for module3, module2 in REVERSE_IMPORT_MAPPING.items(): |