code: def test_parse_isodate_error_text():
      with pytest.raises(ValueError) as excinfo:
          isoparser().parse_isodate("2014-0423")
  
      # ensure the error message does not contain b' prefixes
      if six.PY2:
          expected_error = (
              "String contains unknown ISO components: u'2014-0423'"
          )
      else:
          expected_error = (
              "String contains unknown ISO components: '2014-0423'"
          )
      assert expected_error == str(excinfo.value)
  
imports: from __future__ import unicode_literals
  from datetime import datetime, timedelta, date, time
  import itertools
  from dateutil import tz
  from dateutil.tz import UTC
  from dateutil.parser import isoparser, isoparse
  import pytest
  import six
label_desc: Use image node_id 28 for calling a global function with example usage: test_parse_isodate_error_text() without return types