code: def test_outer_join_indexer2():
      idx = np.array([1, 1, 2, 5], dtype=np.int64)
      idx2 = np.array([1, 2, 5, 7, 9], dtype=np.int64)
  
      res, lidx, ridx = libjoin.outer_join_indexer(idx2, idx)
  
      exp_res = np.array([1, 1, 2, 5, 7, 9], dtype=np.int64)
      tm.assert_almost_equal(res, exp_res)
  
      exp_lidx = np.array([0, 0, 1, 2, 3, 4], dtype=np.intp)
      tm.assert_almost_equal(lidx, exp_lidx)
  
      exp_ridx = np.array([0, 1, 2, 3, -1, -1], dtype=np.intp)
      tm.assert_almost_equal(ridx, exp_ridx)
  
file_path: pandas/pandas/tests/libs/test_join.py
imports: import numpy
  import pytest
  from pandas._libs import join
  from pandas._libs.join import inner_join, left_outer_join
  import pandas._testing
label_desc: Use image node_id 7 for calling a global function with example usage: test_outer_join_indexer2() without return types