code: def test_syntax_error_handling(self):
      q = 'run.hash == "x" && metric.name == "y"'
      try:
          syntax_error_check(q)
      except SyntaxError as se:
          self.assertEqual(19, se.offset)  # count for added ()
          self.assertEqual(1, se.lineno)
      else:
          self.fail("SyntaxError is not raised")
  
imports: from parameterized import parameterized
  from tests.base import PrefilledDataTestBase
  from tests.utils import full_class_name
  from aim.sdk.types import QueryReportMode
  from aim.storage.query import syntax_error_check
label_desc: Use image node_id 9 for calling the TestQuery obj's underlying member method code with example usage: obj.test_syntax_error_handling() without return types