code: def test_infile_outfile(self):
      infile = self._create_infile()
      outfile = os_helper.TESTFN + ".out"
      rc, out, err = assert_python_ok(
          "-m", "json.tool", infile, outfile
      )
      self.addCleanup(os.remove, outfile)
      with open(outfile, "r", encoding="utf-8") as fp:
          self.assertEqual(fp.read(), self.expect)
      self.assertEqual(rc, 0)
      self.assertEqual(out, b"")
      self.assertEqual(err, b"")
  
imports: import errno
  import os
  import sys
  import textwrap
  import unittest
  import subprocess
  from test import support
  from test.support import os_helper
  from test.support.script_helper import assert_python_ok
label_desc: Use image node_id 5 for calling the TestTool obj's underlying member method code with example usage: obj.test_infile_outfile() without return types