#NEWLINE# def test_accepts_readme( ) : #NEWLINE# #INDENT# with local . cwd ( ( local . cwd / context . module_name ) ) : #NEWLINE# #INDENT# for ext in probe . README_EXTENSIONS : #NEWLINE# #INDENT# path = 'README{0}' . format ( ext ) #NEWLINE# open ( path , 'w' ) #NEWLINE# assert probe . has_readme ( ) #NEWLINE# os . remove ( path )