#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# self . d = TemporaryDirectory ( ) #NEWLINE# fname = os . path . join ( self . d . name , 'pubspec.yaml' ) #NEWLINE# with open ( fname , 'wt' ) as f : #NEWLINE# #INDENT# f . write ( VALID_PUBSPEC_CONTENT ) #NEWLINE# #UNINDENT# self . pubspec = PubspecFile . from_path ( fname ) #NEWLINE# self . pub_package = PubPackage ( self . pubspec )