code: def test_infile_stdout(self):
      infile = self._create_infile()
      rc, out, err = assert_python_ok("-m", "json.tool", infile)
      self.assertEqual(rc, 0)
      self.assertEqual(
          out.splitlines(), self.expect.encode().splitlines()
      )
      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 3 for calling the TestTool obj's underlying member method code with example usage: obj.test_infile_stdout() without return types