code: def test_input_copy(fig_test, fig_ref):
      t = np.arange(0, 6, 2)
      (l,) = fig_test.add_subplot().plot(t, t, ".-")
      t[:] = range(3)
      # Trigger cache invalidation
      l.set_drawstyle("steps")
      fig_ref.add_subplot().plot(
          [0, 2, 4], [0, 2, 4], ".-", drawstyle="steps"
      )
  
imports: import itertools
  import platform
  import timeit
  from types import SimpleNamespace
  from cycler import cycler
  import numpy
  from numpy.testing import assert_array_equal
  import pytest
  import matplotlib
  import matplotlib
  from matplotlib import _path
  import matplotlib.lines
  from matplotlib.markers import MarkerStyle
  from matplotlib.path import Path
  import matplotlib.pyplot
  import matplotlib.transforms
  from matplotlib.testing.decorators import image_comparison, check_figures_equal
label_desc: Use image node_id 26 for calling a global function with example usage: test_input_copy(fig_test, fig_ref) without return types