code: def test_infile_outfile(self):
      infile = self._create_infile()
      outfile = test_support.TESTFN + ".out"
      rc, out, err = assert_python_ok(
          "-m", "json.tool", infile, outfile
      )
      self.addCleanup(os.remove, outfile)
      with open(outfile, "r") as fp:
          self.assertEqual(fp.read(), self.expect)
      self.assertEqual(out, b"")
      self.assertEqual(err, b"")
  
file_path: catboost/contrib/tools/python/src/Lib/json/tests/test_tool.py
imports: import os
  import sys
  import textwrap
  import unittest
  import subprocess
  from test import test_support
  from test.script_helper import assert_python_ok
label_desc: Use image node_id 4 for calling the TestTool obj's underlying member method code with example usage: obj.test_infile_outfile() without return types