code: def test_extract_triangulation_positional_mask():
      # mask cannot be passed positionally
      mask = [True]
      args = [[0, 2, 1], [0, 0, 1], [[0, 1, 2]], mask]
      (
          x_,
          y_,
          triangles_,
          mask_,
          args_,
          kwargs_,
      ) = mtri.Triangulation._extract_triangulation_params(args, {})
      assert mask_ is None
      assert args_ == [mask]
  
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 1 for calling a global function with example usage: test_extract_triangulation_positional_mask() without return types