code: def test_repeat(texture):
      assert isinstance(texture.repeat, bool)
      for value in [True, False]:
          texture.repeat = value
          assert texture.repeat is value
          assert bool(texture.GetRepeat()) is value
  
imports: import numpy
  import pytest
  import vtk
  import pyvista
  from pyvista import examples
  from pyvista.core.errors import VTKVersionError
  from pyvista.plotting.texture import numpy_to_texture
label_desc: Use image node_id 14 for calling a global function with example usage: test_repeat(texture) without return types