MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / check

Method check

_pydev_bundle/_pydev_saved_modules.py:66–76  ·  view source on GitHub ↗
(self, module, expected_attributes)

Source from the content-addressed store, hash-verified

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
79with VerifyShadowedImport("threading") as verify_shadowed:

Callers 1

Tested by

no test coverage detected