(self, module, expected_attributes)
| 64 | return msg |
| 65 | |
| 66 | def check(self, module, expected_attributes): |
| 67 | msg = "" |
| 68 | for expected_attribute in expected_attributes: |
| 69 | try: |
| 70 | getattr(module, expected_attribute) |
| 71 | except: |
| 72 | msg = self._generate_shadowed_import_message([module.__file__]) |
| 73 | break |
| 74 | |
| 75 | if msg: |
| 76 | raise DebuggerInitializationError(msg) |
| 77 | |
| 78 | |
| 79 | with VerifyShadowedImport("threading") as verify_shadowed: |
no test coverage detected