code: def test_log_locator_levels(split_collections):
      fig, ax = plt.subplots()
  
      N = 100
      x = np.linspace(-3.0, 3.0, N)
      y = np.linspace(-2.0, 2.0, N)
  
      X, Y = np.meshgrid(x, y)
  
      Z1 = np.exp(-(X**2) - Y**2)
      Z2 = np.exp(-((X * 10) ** 2) - (Y * 10) ** 2)
      data = Z1 + 50 * Z2
  
      c = ax.contourf(data, locator=ticker.LogLocator())
      assert_array_almost_equal(
          c.levels, np.power(10.0, np.arange(-6, 3))
      )
      cb = fig.colorbar(c, ax=ax)
      assert_array_almost_equal(cb.ax.get_yticks(), c.levels)
  
      _maybe_split_collections(split_collections)
  
imports: import datetime
  import platform
  import re
  from unittest import mock
  import contourpy
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_array_almost_equal_nulp, assert_array_equal
  import matplotlib
  from matplotlib import pyplot, rc_context, ticker
  from matplotlib.colors import LogNorm, same_color
  import matplotlib.patches
  from matplotlib.testing.decorators import check_figures_equal, image_comparison
  import pytest
label_desc: Use image node_id 12 for calling a global function with example usage: test_log_locator_levels(split_collections) without return types