def test_adjust_gamma_one():
 image = np.random.uniform(0, 255, (8, 8))
 result = exposure.adjust_gamma(image, 1)
 assert_array_equal(result, image)

def test_adjust_gamma_one ( ) : image = np . random . uniform ( 0 , 255 , ( 8 , 8 ) ) result = exposure . adjust_gamma ( image , 1 ) assert_array_equal ( result , image )
same image should be returned for gamma equal to one .