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

Method __init__

testing/python/approx.py:715–717  ·  view source on GitHub ↗
(self, value, size)

Source from the content-addressed store, hash-verified

713
714 class DeviceArray:
715 def __init__(self, value, size):
716 self.value = value
717 self.size = size
718
719 def __array__(self):
720 return self.value * np.ones(self.size)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected