class documentation

class TestLikeFuncs:

View In Hierarchy

Test ones_like, zeros_like, empty_like and full_like
Method check​_like​_function Undocumented
Method compare​_array​_value Undocumented
Method setup Undocumented
Method test​_dtype​_str​_bytes Undocumented
Method test​_empty​_like Undocumented
Method test​_filled​_like Undocumented
Method test​_ones​_like Undocumented
Method test​_zeros​_like Undocumented
Instance Variable data Undocumented
Instance Variable shapes Undocumented
def check_like_function(self, like_function, value, fill_value=False):

Undocumented

def compare_array_value(self, dz, value, fill_value):

Undocumented

def setup(self):

Undocumented

@pytest.mark.parametrize('likefunc', [np.empty_like, np.full_like, np.zeros_like, np.ones_like])
@pytest.mark.parametrize('dtype', [str, bytes])
def test_dtype_str_bytes(self, likefunc, dtype):

Undocumented

def test_empty_like(self):

Undocumented

def test_filled_like(self):

Undocumented

def test_ones_like(self):

Undocumented

def test_zeros_like(self):

Undocumented

data =

Undocumented

shapes: list =

Undocumented