class documentation

class TestNonarrayArgs:

View In Hierarchy

Undocumented

Method test​_choose Undocumented
Method test​_clip Undocumented
Method test​_compress Undocumented
Method test​_count​_nonzero Undocumented
Method test​_cumproduct Undocumented
Method test​_diagonal Undocumented
Method test​_dunder​_round Undocumented
Method test​_dunder​_round​_accuracy Undocumented
Method test​_dunder​_round​_edgecases Undocumented
Method test​_mean Undocumented
Method test​_prod Undocumented
Method test​_ptp Undocumented
Method test​_ravel Undocumented
Method test​_repeat Undocumented
Method test​_reshape Undocumented
Method test​_round Undocumented
Method test​_round​_py​_consistency Undocumented
Method test​_searchsorted Undocumented
Method test​_size Undocumented
Method test​_squeeze Undocumented
Method test​_std Undocumented
Method test​_sum Undocumented
Method test​_swapaxes Undocumented
Method test​_take Undocumented
Method test​_trace Undocumented
Method test​_transpose Undocumented
Method test​_var Undocumented
def test_choose(self):

Undocumented

def test_clip(self):

Undocumented

def test_compress(self):

Undocumented

def test_count_nonzero(self):

Undocumented

def test_cumproduct(self):

Undocumented

def test_diagonal(self):

Undocumented

@pytest.mark.parametrize('dtype', [np.int8, np.int16, np.int32, np.int64, np.uint8, np.uint16, np.uint32, np.uint64, np.float16, np.float32, np.float64])
def test_dunder_round(self, dtype):

Undocumented

def test_dunder_round_accuracy(self):

Undocumented

@pytest.mark.parametrize('val, ndigits', [pytest.param(2**31-1, -1, marks=pytest.mark.xfail(reason='Out of range of int32')), (2**31-1, 1-math.ceil(math.log10(2**31-1))), (2**31-1, -math.ceil(math.log10(2**31-1)))])
def test_dunder_round_edgecases(self, val, ndigits):

Undocumented

def test_mean(self):

Undocumented

def test_prod(self):

Undocumented

def test_ptp(self):

Undocumented

def test_ravel(self):

Undocumented

def test_repeat(self):

Undocumented

def test_reshape(self):

Undocumented

def test_round(self):

Undocumented

@pytest.mark.xfail(raises=AssertionError, reason='gh-15896')
def test_round_py_consistency(self):

Undocumented

def test_searchsorted(self):

Undocumented

def test_size(self):

Undocumented

def test_squeeze(self):

Undocumented

def test_std(self):

Undocumented

def test_sum(self):

Undocumented

def test_swapaxes(self):

Undocumented

def test_take(self):

Undocumented

def test_trace(self):

Undocumented

def test_transpose(self):

Undocumented

def test_var(self):

Undocumented