#NEWLINE# @ skip_on_access_denied ( ) #NEWLINE# @ retry_before_failing ( ) #NEWLINE# def test_vsz_memory( self ) : #NEWLINE# #INDENT# time . sleep ( 0.1 ) #NEWLINE# vsz_ps = ps ( ( 'ps --no-headers -o vsz -p %s' % vsz_ps . pid ) ) #NEWLINE# vsz_psutil = ( psutil . Process ( self . pid ) . memory_info ( ) [ 1 ] / 1024 ) #NEWLINE# self . assertEqual ( vsz_ps , vsz_psutil )