code: def test_parsers_iso8601_invalid(date_str):
      msg = f'Error parsing datetime string "{date_str}"'
  
      with pytest.raises(ValueError, match=msg):
          tslib._test_parse_iso8601(date_str)
  
file_path: pandas/pandas/tests/tslibs/test_parse_iso8601.py
imports: from datetime import datetime
  import pytest
  from pandas._libs import tslib
  from pandas import Timestamp
label_desc: Use image node_id 2 for calling a global function with example usage: test_parsers_iso8601_invalid(date_str) without return types