code: def test_get_indexer_non_unique_nans_in_object_dtype_target(
      nulls_fixture,
  ):
      idx = Index([1.0, 2.0])
      target = Index([1, nulls_fixture], dtype="object")
  
      result_idx, result_missing = idx.get_indexer_non_unique(target)
      tm.assert_numpy_array_equal(
          result_idx, np.array([0, -1], dtype=np.intp)
      )
      tm.assert_numpy_array_equal(
          result_missing, np.array([1], dtype=np.intp)
      )
  
imports: import numpy
  import pytest
  from pandas.errors import InvalidIndexError
  from pandas.core.dtypes.common import is_float_dtype, is_scalar
  from pandas import NA, DatetimeIndex, Index, IntervalIndex, MultiIndex, NaT, PeriodIndex, TimedeltaIndex
  import pandas._testing
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_indexer_non_unique_nans_in_object_dtype_target(nulls_fixture) without return types