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

Method setup_method

numpy/ma/tests/test_subclassing.py:421–424  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

419 # Test suite for classes that wrap MaskedArrays
420
421 def setup_method(self):
422 m = np.ma.masked_array([1, 3, 5], mask=[False, True, False])
423 wm = WrappedArray(m)
424 self.data = (m, wm)
425
426 def test_masked_unary_operations(self):
427 # Tests masked_unary_operation

Callers

nothing calls this directly

Calls 1

WrappedArrayClass · 0.85

Tested by

no test coverage detected