#NEWLINE# def test_file_modified( self ) : #NEWLINE# #INDENT# path = self . _create_file ( 'test' ) #NEWLINE# self . _watcher . start ( ) #NEWLINE# with open ( path , 'w' ) as f : #NEWLINE# #INDENT# f . write ( 'testing' ) #NEWLINE# #UNINDENT# self . assertEqual ( set ( [ path ] ) , self . _watcher . changes ( ) )