code: def test_tool_inputs(self):
      plan = """
  rule cat
    command = cat $in $out
  build out1 : cat in1
  build out2 : cat in2 out1
  build out3 : cat out2 out1 | implicit || order_only
  """
      self.assertEqual(
          run(plan, flags="-t inputs out3"),
          """implicit
  in1
  in2
  order_only
  out1
  out2
  """,
      )
  
file_path: ninja/misc/output_test.py
imports: import os
  import platform
  import subprocess
  import sys
  import tempfile
  import unittest
label_desc: Use image node_id 9 for calling the Output obj's underlying member method code with example usage: obj.test_tool_inputs() without return types