code: def test_to_offset_tuple_unsupported():
      with pytest.raises(TypeError, match="pass as a string instead"):
          to_offset((5, "T"))
  
file_path: pandas/pandas/tests/tslibs/test_to_offset.py
imports: import re
  import pytest
  from pandas._libs.tslibs import Timedelta, offsets, to_offset
label_desc: Use image node_id 5 for calling a global function with example usage: test_to_offset_tuple_unsupported() without return types