code: def python_skd_test(python_test_dir: str):
      print("python test path is {}".format(python_test_dir))
      # os.system(f"cd {python_test_dir}/test")
      os.system(f"pip install infinity_sdk")
      print("start pysdk test...")
      process = subprocess.run(
          ["python", "-m", "pytest", f"{python_test_dir}/test"],
          stdout=subprocess.PIPE,
          stderr=subprocess.PIPE,
      )
      output, error = process.stdout, process.stderr
      print(output.decode())
      if process.returncode != 0:
          raise Exception(f"An error occurred: {error.decode()}")
  
file_path: infinity/tools/sqllogictest.py
imports: import argparse
  import os
  from shutil import copyfile
  import subprocess
  from generate_big import generate
  from generate_fvecs import generate
  from generate_sort import generate
  from generate_limit import generate
  from generate_aggregate import generate
  from generate_top import generate
  from generate_top_varchar import generate
label_desc: Use image node_id 1 for calling a global function with example usage: python_skd_test(python_test_dir) without return types