code: def test_issue_1418(self):
      self.assertEqual(
          run(
              """rule echo
    command = sleep $delay && echo $out
    description = echo $out
  
  build a: echo
    delay = 3
  build b: echo
    delay = 2
  build c: echo
    delay = 1
  """,
              "-j3",
          ),
          """[1/3] echo c\x1b[K
  c
  [2/3] echo b\x1b[K
  b
  [3/3] echo a\x1b[K
  a
  """,
      )
  
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 1 for calling the Output obj's underlying member method code with example usage: obj.test_issue_1418() without return types