code: def readline(self):
      return self.lines.pop()
  
imports: import unittest
  import io
  from idlelib.PyShell import PseudoInputFile, PseudoOutputFile
  from test import test_support
label_desc: Use image node_id 3 for calling the MockShell obj's underlying member method code with example usage: obj.readline() and returns: self