code: def test_load_arff_from_gzip_file_error_parser():
      """An error will be raised if the parser is not known."""
      # None of the input parameters are required to be accurate since the check
      # of the parser will be carried out first.
  
      err_msg = (
          "Unknown parser: 'xxx'. Should be 'liac-arff' or 'pandas'"
      )
      with pytest.raises(ValueError, match=err_msg):
          load_arff_from_gzip_file(
              "xxx", "xxx", "xxx", "xxx", "xxx", "xxx"
          )
  
file_path: scikit-learn/sklearn/datasets/tests/test_arff_parser.py
imports: import textwrap
  from io import BytesIO
  import pytest
  from sklearn.datasets._arff_parser import _liac_arff_parser, _pandas_arff_parser, _post_process_frame, load_arff_from_gzip_file
label_desc: Use image node_id 2 for calling a global function with example usage: test_load_arff_from_gzip_file_error_parser() without return types