code: def test_tripcolor_warnings():
      x = [-1, 0, 1, 0]
      y = [0, -1, 0, 1]
      c = [0.4, 0.5]
      fig, ax = plt.subplots()
      # facecolors takes precedence over c
      with pytest.warns(
          UserWarning, match="Positional parameter c .*no effect"
      ):
          ax.tripcolor(x, y, c, facecolors=c)
      with pytest.warns(
          UserWarning, match="Positional parameter c .*no effect"
      ):
          ax.tripcolor(x, y, "interpreted as c", facecolors=c)
  
imports: import numpy
  from numpy.testing import assert_array_equal, assert_array_almost_equal, assert_array_less
  import numpy.ma.testutils
  import pytest
  import matplotlib
  import matplotlib.pyplot
  import matplotlib.tri
  from matplotlib.path import Path
  from matplotlib.testing.decorators import image_comparison, check_figures_equal
label_desc: Use image node_id 12 for calling a global function with example usage: test_tripcolor_warnings() without return types