MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / __getattr__

Method __getattr__

docs/conf.py:302–303  ·  view source on GitHub ↗
(cls, name)

Source from the content-addressed store, hash-verified

300class Mock(MagicMock):
301 @classmethod
302 def __getattr__(cls, name):
303 return Mock()
304
305MOCK_MODULES = ['numpy', 'numpy.linalg', 'numpy.testing', 'PyMesh'];
306sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

Callers

nothing calls this directly

Calls 1

MockClass · 0.70

Tested by

no test coverage detected