code: def test_take_non_hashable_fill_value(self):
      arr = np.array([1, 2, 3])
      indexer = np.array([1, -1])
      with pytest.raises(
          ValueError, match="fill_value must be a scalar"
      ):
          algos.take(arr, indexer, allow_fill=True, fill_value=[1])
  
      # with object dtype it is allowed
      arr = np.array([1, 2, 3], dtype=object)
      result = algos.take(arr, indexer, allow_fill=True, fill_value=[1])
      expected = np.array([2, [1]], dtype=object)
      tm.assert_numpy_array_equal(result, expected)
  
imports: from datetime import datetime
  import numpy
  import pytest
  from pandas._libs import iNaT
  import pandas._testing
  import pandas.core.algorithms
label_desc: Use image node_id 12 for calling the TestTake obj's underlying member method code with example usage: obj.test_take_non_hashable_fill_value() without return types