#NEWLINE# def test_is_dart_file_FailsWhenExpected( self ) : #NEWLINE# #INDENT# f = NamedTemporaryFile ( suffix = '.js' , delete = True ) #NEWLINE# with self . open_file ( view . name ) as view : #NEWLINE# #INDENT# df = DartFile ( view ) #NEWLINE# self . assertFalse ( df . is_dart_file ) #NEWLINE# #UNINDENT# f . close ( )