code: def test_parallel_mesh(mesher):
      """Test if parallelization breaks the optimization process"""
      import multiprocessing
  
      xx, yy, zz = _mesh(mesher)
      xx_p, yy_p, zz_p = _mesh(
          mesher, n_processes=multiprocessing.cpu_count()
      )
      assert (
          xx.shape
          == yy.shape
          == zz.shape
          == xx_p.shape
          == yy_p.shape
          == zz_p.shape
          == (20, 20)
      )
  
file_path: pyswarms/tests/utils/plotters/test_plotters.py
imports: import os
  import pytest
  import matplotlib
  from matplotlib.animation import FuncAnimation
  from matplotlib.axes import SubplotBase
  from pyswarms.utils.plotters import plot_contour, plot_cost_history, plot_surface
  from pyswarms.utils.plotters.plotters import _animate, _mesh
label_desc: Use image node_id 6 for calling a global function with example usage: test_parallel_mesh(mesher) without return types