class_docstr: Mock socket object used by the smtplib tests.
      
class_docstr_tok: ["Mock","socket","object","used","by","the","smtplib","tests","."]
code: def makefile(self, mode="r", bufsize=-1):
      handle = MockFile(self.lines)
      return handle
  
imports: import socket
label_desc: Use image node_id 14 for calling the MockSocket obj's underlying member method code with example usage: obj.makefile(mode, bufsize) and returns: handle