#NEWLINE# def test_wait_for_file( self ) : #NEWLINE# #INDENT# with temporary_dir ( ) as td : #NEWLINE# #INDENT# test_filename = os . path . join ( td , 'test.out' ) #NEWLINE# safe_file_dump ( test_filename , 'test' ) #NEWLINE# ProcessMetadataManager . _wait_for_file ( test_filename , timeout = 0.1 )