docstr: Test that isin works for timedelta input
docstr_tok: ["Test","that","isin","works","for","timedelta","input"]
code: def test_isin_timedelta(self, kind):
      """Test that isin works for timedelta input"""
      rstate = np.random.RandomState(0)
      a = rstate.randint(0, 100, size=10)
      b = rstate.randint(0, 100, size=10)
      truth = isin(a, b)
      a_timedelta = a.astype("timedelta64[s]")
      b_timedelta = b.astype("timedelta64[s]")
      assert_array_equal(
          truth, isin(a_timedelta, b_timedelta, kind=kind)
      )
  
imports: import numpy
  from numpy import ediff1d, intersect1d, setxor1d, union1d, setdiff1d, unique, isin
  from numpy.exceptions import AxisError
  from numpy.testing import assert_array_equal, assert_equal, assert_raises, assert_raises_regex
  import pytest
label_desc: Use image node_id 14 for calling the TestSetOps obj's underlying member method code with example usage: obj.test_isin_timedelta(kind) without return types