class_docstr: The tests below essentially check for the output format returned by HF.
  We need to ensure that it is in the format that we expect.
class_docstr_tok: ["The","tests","below","essentially","check","for","the","output","format","returned","by","HF",".","We","need","to","ensure","that","it","is","in","the","format","that","we","expect","."]
code: def test_raise_error_on_unsupported_task(self):
      function_name = "HFUnsupportedTask"
      task = "zero-shot-object-detection"
      create_function_query = f"""CREATE FUNCTION {function_name}
              TYPE HuggingFace
              TASK '{task}'
          """
      # catch an assert
  
      with self.assertRaises(ExecutorError) as exc_info:
          execute_query_fetch_all(
              self.evadb,
              create_function_query,
              do_not_print_exceptions=True,
          )
      self.assertIn(
          f"Task {task} not supported in EvaDB currently",
          str(exc_info.exception),
      )
  
imports: import unittest
  from test.util import create_text_csv, file_remove, get_evadb_for_testing
  import pytest
  from evadb.executor.executor_utils import ExecutorError
  from evadb.server.command_handler import execute_query_fetch_all
label_desc: Use image node_id 4 for calling the HuggingFaceTests obj's underlying member method code with example usage: obj.test_raise_error_on_unsupported_task() without return types