#NEWLINE# def test_squared_even_patches_landmarks( ) : #NEWLINE# #INDENT# image = mio . import_builtin_asset ( 'breakingbad.jpg' ) #NEWLINE# patch_shape = ( 16 , 16 ) #NEWLINE# patches = image . extract_patches_around_landmarks ( 'PTS' , patch_shape = patch_shape , as_single_array = False ) #NEWLINE# assert_equals ( len ( patches ) , 68 )