#NEWLINE# def test_from_record_like( self ) : #NEWLINE# #INDENT# hostrec = self . hostz . copy ( ) #NEWLINE# devrec = from_record_like ( hostrec ) #NEWLINE# self . _check_device_record ( hostrec , devrec ) #NEWLINE# devrec2 = from_record_like ( devrec ) #NEWLINE# self . _check_device_record ( devrec , devrec2 ) #NEWLINE# self . assertNotEqual ( devrec . gpu_data , devrec2 . gpu_data )