def test_cmplx(self): val = ng.get_data('const.i') assert type(val) == np.ndarray assert len(val) == 1 assert val.dtype == 'complex128' assert val[0] == pytest.approx(1j)