code: def write(self, *args):
      self.written.append(args)
  
imports: import unittest
  import io
  from idlelib.PyShell import PseudoInputFile, PseudoOutputFile
  from test import test_support
label_desc: Use image node_id 2 for calling the MockShell obj's underlying member method code with example usage: obj.write() without return types