

def _assert_range(self, img):
    assert (img.dtype == numpy.uint8)
    assert (img.shape == (10, 10, 3))
    assert (0 <= numpy.min(img))
    assert (1 < numpy.max(img) <= 255)

dataset/ETHPy150Open belltailjp/selective_search_py/test_color_space.py TestColorSpace._assert_range/original