#NEWLINE# def test_is_example_FailsWhenExpected( self ) : #NEWLINE# #INDENT# ( _ , tmp_dir ) = make_package ( dirs = [ 'bin' ] ) #NEWLINE# fname = os . path . join ( tmp_dir . name , 'bin' , 'foo.dart' ) #NEWLINE# open ( fname , 'w' ) . close ( ) #NEWLINE# with self . open_file ( fname ) as view : #NEWLINE# #INDENT# df = DartFile ( df ) #NEWLINE# self . assertFalse ( df . is_example ) #NEWLINE# #UNINDENT# tmp_dir . cleanup ( )