MCPcopy Create free account
hub / github.com/numpy/numpy / M

Class M

numpy/ma/tests/test_core.py:4907–4908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4905
4906 # Test case when input is MaskedArray subclass
4907 class M(MaskedArray):
4908 pass
4909
4910 test = np.ma.compressed(M([[[]], [[]]]))
4911 assert_equal(test.ndim, 1)

Callers 1

test_compressedMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_compressedMethod · 0.56