code: def test_in1d_ravel(self, kind):
      # Test that in1d ravels its input arrays. This is not documented
      # behavior however. The test is to ensure consistentency.
      a = np.arange(6).reshape(2, 3)
      b = np.arange(3, 9).reshape(3, 2)
      long_b = np.arange(3, 63).reshape(30, 2)
      ec = np.array([False, False, False, True, True, True])
  
      assert_array_equal(in1d(a, b, assume_unique=True, kind=kind), ec)
      assert_array_equal(in1d(a, b, assume_unique=False, kind=kind), ec)
      assert_array_equal(
          in1d(a, long_b, assume_unique=True, kind=kind), ec
      )
      assert_array_equal(
          in1d(a, long_b, assume_unique=False, kind=kind), ec
      )
  
imports: import numpy
  from numpy.testing import assert_array_equal, assert_equal, assert_raises, assert_raises_regex
  from numpy.lib.arraysetops import ediff1d, intersect1d, setxor1d, union1d, setdiff1d, unique, in1d, isin
  import pytest
label_desc: Use image node_id 12 for calling the TestSetOps obj's underlying member method code with example usage: obj.test_in1d_ravel(kind) without return types