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

Method _create_data

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

Source from the content-addressed store, hash-verified

2636class TestUfuncs:
2637 # Test class for the application of ufuncs on MaskedArrays.
2638 def _create_data(self):
2639 # Base data definition.
2640 return (array([1.0, 0, -1, pi / 2] * 2, mask=[0, 1] + [0] * 6),
2641 array([1.0, 0, -1, pi / 2] * 2, mask=[1, 0] + [0] * 6),)
2642
2643 def test_testUfuncRegression(self):
2644 # Tests new ufuncs on MaskedArrays.

Callers 2

test_reduceMethod · 0.95

Calls 1

arrayFunction · 0.90

Tested by

no test coverage detected