def test_keypoints_censure_color_image_unsupported_error():
 assert_raises(ValueError, CENSURE().detect, np.zeros((20, 20, 3)))

def test_keypoints_censure_color_image_unsupported_error ( ) : assert_raises ( ValueError , CENSURE ( ) . detect , np . zeros ( ( 20 , 20 , 3 ) ) )
censure keypoints can be extracted from gray-scale images only .