code: def test_polar_interpolation_steps_variable_r(fig_test, fig_ref):
      (l,) = fig_test.add_subplot(projection="polar").plot(
          [0, np.pi / 2], [1, 2]
      )
      l.get_path()._interpolation_steps = 100
      fig_ref.add_subplot(projection="polar").plot(
          np.linspace(0, np.pi / 2, 101), np.linspace(1, 2, 101)
      )
  
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 25 for calling a global function with example usage: test_polar_interpolation_steps_variable_r(fig_test, fig_ref) without return types