#NEWLINE# @ classmethod #NEWLINE# def init_vc( cls , cwd = TEMP_DIR ) : #NEWLINE# #INDENT# cls . delete_repo ( cwd = cwd ) #NEWLINE# success = cls . create_repo ( cwd = cwd ) #NEWLINE# committed = cls . save_and_commit ( 'a=1;' , 'a.py' ) #NEWLINE# return ( success and committed )