code: def test_match():
      v1 = [1, 1, 2, 2, 3, 3]
      v2 = [1, 2, 3]
      v3 = [0, 1, 2]
      c = [1]
  
      assert list(match(v1, v2)) == [0, 0, 1, 1, 2, 2]
      assert list(match(v1, v2, incomparables=c)) == [
          -1,
          -1,
          1,
          1,
          2,
          2,
      ]
      assert list(match(v1, v3)) == [1, 1, 2, 2, -1, -1]
  
file_path: plotnine/tests/test_utils.py
imports: import itertools
  import random
  import string
  import warnings
  import numpy
  import pandas
  from plotnine._utils import _margins, add_margins, join_keys, match, ninteraction, pivot_apply, remove_missing, uniquecols
  from plotnine.data import mtcars
label_desc: Use image node_id 6 for calling a global function with example usage: test_match() without return types