code: def test_valid_input_forms():
      fig, ax = plt.subplots()
      # These should not raise an error.
      ax.set_prop_cycle(None)
      ax.set_prop_cycle(cycler("linewidth", [1, 2]))
      ax.set_prop_cycle("color", "rgywkbcm")
      ax.set_prop_cycle("lw", (1, 2))
      ax.set_prop_cycle("linewidth", [1, 2])
      ax.set_prop_cycle("linewidth", iter([1, 2]))
      ax.set_prop_cycle("linewidth", np.array([1, 2]))
      ax.set_prop_cycle(
          "color", np.array([[1, 0, 0], [0, 1, 0], [0, 0, 1]])
      )
      ax.set_prop_cycle("dashes", [[], [13, 2], [8, 3, 1, 3]])
      ax.set_prop_cycle(lw=[1, 2], color=["k", "w"], ls=["-", "--"])
      ax.set_prop_cycle(
          lw=np.array([1, 2]),
          color=np.array(["k", "w"]),
          ls=np.array(["-", "--"]),
      )
  
file_path: matplotlib/lib/matplotlib/tests/test_cycles.py
imports: import contextlib
  from io import StringIO
  import matplotlib
  import matplotlib.pyplot
  import numpy
  import pytest
  from cycler import cycler
label_desc: Use image node_id 10 for calling a global function with example usage: test_valid_input_forms() without return types