class_docstr: We need to start these Java tests from python process to make sure that Python environment is
  available when the tests are running.
class_docstr_tok: ["We","need","to","start","these","Java","tests","from","python","process","to","make","sure","that","Python","environment","is","available","when","the","tests","are","running","."]
code: def get_jar_path(self, jar_path_pattern):
      test_jar_path = glob.glob(
          os.path.join(_find_flink_source_root(), jar_path_pattern)
      )
      if not test_jar_path:
          self.fail(
              "'%s' is not available. Please compile the test jars first."
              % jar_path_pattern
          )
      if len(test_jar_path) > 1:
          self.fail(
              "There are multiple jars matches the pattern: %s, the jars are: %s"
              % (jar_path_pattern, test_jar_path)
          )
      return test_jar_path[0]
  
file_path: flink/flink-python/pyflink/table/tests/test_sql.py
imports: import glob
  import os
  import subprocess
  from pyflink.find_flink_home import _find_flink_source_root
  from pyflink.java_gateway import get_gateway
  from pyflink.table import ResultKind, ExplainDetail
  from pyflink.table import expressions
  from pyflink.testing import source_sink_utils
  from pyflink.testing.test_case_utils import PyFlinkStreamTableTestCase, PyFlinkTestCase
label_desc: Use image node_id 3 for calling the JavaSqlTests obj's underlying member method code with example usage: obj.get_jar_path(jar_path_pattern) and returns: test_jar_path