code: def test_str_or_int(value: str, desired: Any):
      assert str_or_int(value) == desired
  
file_path: espnet/test/espnet2/utils/test_types.py
imports: from contextlib import contextmanager
  from typing import Any
  import pytest
  from espnet2.utils.types import float_or_none, humanfriendly_parse_size_or_none, int_or_none, remove_parenthesis, str2bool, str2pair_str, str2triple_str, str_or_int, str_or_none
label_desc: Use image node_id 6 for calling a global function with example usage: test_str_or_int(value, desired) without return types