class_docstr: A class simulating an readable socket, optionally raising a
  special exception every other read.
class_docstr_tok: ["A","class","simulating","an","readable","socket",",","optionally","raising","a","special","exception","every","other","read","."]
code: def tick(self):
      self.counter += 1
      if not self.interrupt_every:
          return
      if (self.counter % self.interrupt_every) == 0:
          raise self.TestError()
  
label_desc: Use image node_id 2 for calling the MockSocket obj's underlying member method code with example usage: obj.tick() without return types