code: def test_repr(td, expected_repr):
      assert repr(td) == expected_repr
  
file_path: pandas/pandas/tests/scalar/timedelta/test_formats.py
imports: import pytest
  from pandas import Timedelta
label_desc: Use image node_id 1 for calling a global function with example usage: test_repr(td, expected_repr) without return types