code: def __init__(self):
      self.reset()
  
imports: import unittest
  import io
  from idlelib.PyShell import PseudoInputFile, PseudoOutputFile
  from test import test_support
label_desc: Use image node_id 1 to create a new MockShell object  with example: obj = MockShell()