(mod)
| 694 | return obj |
| 695 | |
| 696 | def get_exceptions(mod): |
| 697 | for name in dir(mod): |
| 698 | attr = getattr(mod, name) |
| 699 | if isinstance(attr, type) and issubclass(attr, BaseException): |
| 700 | yield name, attr |
| 701 | |
| 702 | class CompatPickleTests(unittest.TestCase): |
| 703 | def test_import(self): |
no test coverage detected