parameters: (self, ref_call_no, src_call_no, stream)
docstring: Compare the state between two calls.
docstring_summary: Compare the state between two calls.
docstring_tokens: Compare the state between two calls .
function: def diff_state(self, ref_call_no, src_call_no, stream):
          '''Compare the state between two calls.'''
  
          ref_state = self.dump_state(ref_call_no)
          src_state = self.dump_state(src_call_no)
  
          stream.flush()
          differ = jsondiff.Differ(stream)
          differ.visit(ref_state, src_state)
          stream.write('\n')
function_tokens: def diff_state ( self , ref_call_no , src_call_no , stream ) : ref_state = self . dump_state ( ref_call_no ) src_state = self . dump_state ( src_call_no ) stream . flush ( ) differ = jsondiff . Differ ( stream ) differ . visit ( ref_state , src_state ) stream . write ( '\n' )