#NEWLINE# def test_warp_to_mask_preserves_path( ) : #NEWLINE# #INDENT# bb = menpo . io . import_builtin_asset . breakingbad_jpg ( ) #NEWLINE# no_op = UniformScale ( 1.0 , n_dims = 2 ) #NEWLINE# bb2 = bb . warp_to_mask ( BooleanImage . init_blank ( ( 10 , 10 ) ) , bb2 ) #NEWLINE# assert hasattr ( bb2 , 'path' ) #NEWLINE# assert ( bb2 . path == bb . path )