@two_point_five_and_windows_py3
def test_nelements_records(recdata):
    s = symbol('s', discover(recdata))
    assert compute(s.nelements(), recdata) == np.prod(recdata.shape)
    np.testing.assert_array_equal(compute(s.nelements(axis=0), recdata),
                                  np.zeros(recdata.shape[1]) + recdata.shape[0])
dataset/ETHPy150Open blaze/blaze/blaze/compute/tests/test_h5py.py/test_nelements_records/original