#NEWLINE# def test_nonsquared_odd_patches( ) : #NEWLINE# #INDENT# image = mio . import_builtin_asset ( 'breakingbad.jpg' ) #NEWLINE# patch_shape = ( 15 , 17 ) #NEWLINE# patches = image . extract_patches ( image . landmarks [ 'PTS' ] . lms , patch_shape = patch_shape , as_single_array = False ) #NEWLINE# assert_equals ( len ( patches ) , 68 )