def test_keypoints_censure_mode_validity_error():
 assert_raises(ValueError, CENSURE, mode='dummy')

def test_keypoints_censure_mode_validity_error ( ) : assert_raises ( ValueError , CENSURE , mode = 'dummy' )
mode argument in keypoints_censure can be either dob .