MCPcopy Create free account
hub / github.com/pytest-dev/pytest / __init__

Method __init__

testing/python/approx.py:723–724  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

721
722 class DeviceScalar:
723 def __init__(self, value):
724 self.value = value
725
726 def __array__(self):
727 return np.array(self.value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected