code: def test_default_thetalocator():
      # Ideally we would check AAAABBC, but the smallest axes currently puts a
      # single tick at 150° because MaxNLocator doesn't have a way to accept 15°
      # while rejecting 150°.
      fig, axs = plt.subplot_mosaic(
          "AAAABB.", subplot_kw={"projection": "polar"}
      )
      for ax in axs.values():
          ax.set_thetalim(0, np.pi)
      for ax in axs.values():
          ticklocs = np.degrees(ax.xaxis.get_majorticklocs()).tolist()
          assert pytest.approx(90) in ticklocs
          assert pytest.approx(100) not in ticklocs
  
imports: import numpy
  from numpy.testing import assert_allclose
  import pytest
  import matplotlib
  from matplotlib import pyplot
  from matplotlib.testing.decorators import image_comparison, check_figures_equal
label_desc: Use image node_id 28 for calling a global function with example usage: test_default_thetalocator() without return types