MCPcopy Create free account
hub / github.com/apple/coremltools / __init__

Method __init__

deps/protobuf/python/mox.py:133–143  ·  view source on GitHub ↗

Init exception. Args: # unknown_method_name: Method call that is not part of the mocked class's # public interface. unknown_method_name: str

(self, unknown_method_name)

Source from the content-addressed store, hash-verified

131 """Raised if an unknown method is requested of the mock object."""
132
133 def __init__(self, unknown_method_name):
134 """Init exception.
135
136 Args:
137 # unknown_method_name: Method call that is not part of the mocked class's
138 # public interface.
139 unknown_method_name: str
140 """
141
142 Error.__init__(self)
143 self._unknown_method_name = unknown_method_name
144
145 def __str__(self):
146 return "Method called is not a member of the object: %s" % \

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected