code: def test_read_with_bad_header(all_parsers):
      parser = all_parsers
      msg = r"but only \d+ lines in file"
  
      with pytest.raises(ValueError, match=msg):
          parser.read_csv(StringIO(",,"), header=[10])
  
imports: from collections import namedtuple
  from io import StringIO
  import numpy
  import pytest
  from pandas.errors import ParserError
  from pandas import DataFrame, Index, MultiIndex
  import pandas._testing
label_desc: Use image node_id 1 for calling a global function with example usage: test_read_with_bad_header(all_parsers) without return types