#NEWLINE# def internaltest_project( p ) : #NEWLINE# #INDENT# state = tempfile . TemporaryFile ( ) #NEWLINE# pickle . dump ( p , state ) #NEWLINE# state . seek ( 0 ) #NEWLINE# loaded_p = pickle . load ( state ) #NEWLINE# nose . tools . assert_equals ( p . arch , loaded_p . arch ) #NEWLINE# nose . tools . assert_equals ( state . filename , loaded_p . filename ) #NEWLINE# nose . tools . assert_equals ( p . entry , loaded_p . entry )