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

Method compressed

numpy/ma/tests/test_core.py:4915–4916  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4913 # with .compressed() overridden
4914 class M(MaskedArray):
4915 def compressed(self):
4916 return 42
4917
4918 test = np.ma.compressed(M([[[]], [[]]]))
4919 assert_equal(test, 42)

Callers 14

check_clumpMethod · 0.45
test_complexMethod · 0.45
test_1d_with_missingMethod · 0.45
test_1d_with_missingMethod · 0.45
test_polyfitMethod · 0.45
test_traceMethod · 0.45
test_ptpMethod · 0.45
test_varstdMethod · 0.45
test_compressedMethod · 0.45
test_ptpMethod · 0.45
test_traceMethod · 0.45
test_varstdMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected