MCPcopy Create free account
hub / github.com/modAL-python/modAL / __init__

Method __init__

tests/mock.py:8–9  ·  view source on GitHub ↗
(self, return_val)

Source from the content-addressed store, hash-verified

6 Mock utility function for testing.
7 """
8 def __init__(self, return_val):
9 self.return_val = return_val
10
11 def __call__(self, *args):
12 return self.return_val

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected