class_docstr: Mock socket object used by the smtplib tests.
      
class_docstr_tok: ["Mock","socket","object","used","by","the","smtplib","tests","."]
code: def recv(self, bufsize, flags=None):
      data = self.lines.pop(0) + b"\r\n"
      return data
  
imports: import socket
label_desc: Use image node_id 3 for calling the MockSocket obj's underlying member method code with example usage: obj.recv(bufsize, flags) and returns: data