code: def test_intensity():
      light = pv.Light()
  
      intensity = 0.5
      light.intensity = intensity
      assert light.intensity == intensity
  
file_path: pyvista/tests/plotting/test_lights.py
imports: import numpy
  import pytest
  import vtk
  import pyvista
label_desc: Use image node_id 7 for calling a global function with example usage: test_intensity() without return types