code: def test_tuple_requests():
      bc = BatchedCommand(
          cmd=py2cmd(
              """
  import time
  import sys
  print(f"{time.time()}:{sys.stdin.readline().strip()}")
              """
          )
      )
  
      start_time_1, line = bc(("one", "line")).split(":")
      assert_equal(line, "one line")
      start_time_2, line = bc(("end", "now")).split(":")
      assert_not_equal(start_time_1, start_time_2)
      assert_equal(line, "end now")
      bc.close(return_stderr=False)
  
file_path: datalad/datalad/tests/test_cmd.py
imports: import sys
  import unittest.mock
  from subprocess import TimeoutExpired
  import pytest
  from datalad.cmd import BatchedCommand, readline_rstripped
  from datalad.cmd import BatchedCommandError
  from datalad.runner.tests.utils import py2cmd
  from datalad.tests.utils_pytest import assert_equal, assert_is_none, assert_is_not_none, assert_not_equal, assert_true
label_desc: Use image node_id 7 for calling a global function with example usage: test_tuple_requests() without return types