code: def test_parse_version_string(version_str, version):
      parsed_version = parse_version_string(version_str)
      if len(version) == 1:
          assert parsed_version[0] == version[0]
      else:
          assert parsed_version == version
  
file_path: catboost/contrib/python/parso/py3/tests/test_utils.py
imports: from codecs import BOM_UTF8
  from parso.utils import split_lines, parse_version_string, python_bytes_to_unicode
  import parso
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_parse_version_string(version_str, version) without return types