#NEWLINE# def xtest_get_ancestors_calls_vectorize_nodes( cur , nd2_leaf ) : #NEWLINE# #INDENT# with patch . object ( libtree . tree , 'vectorize_nodes' ) as func : #NEWLINE# #INDENT# get_ancestors ( cur , nd2_leaf , sort = True ) #NEWLINE# assert func . called