MCPcopy Index your code
hub / github.com/numpy/numpy / Subclass

Class Subclass

numpy/lib/tests/test_arraysetops.py:835–836  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

833
834 def test_unique_subclass(self):
835 class Subclass(np.ndarray):
836 pass
837
838 i1 = [2, 3, 0, 1]
839 i2 = [2, 3, 0, 1, 0, 2, 3] * 10

Callers 1

test_unique_subclassMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_unique_subclassMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…