code: def test_check_range():
      with pytest.raises(ValueError, match="outside the acceptable"):
          _check_range(-1, (0, 1), "parm")
      with pytest.raises(ValueError, match="outside the acceptable"):
          _check_range(2, (0, 1), "parm")
      assert _check_range(0, (0, 1), "parm") is None
  
imports: import pytest
  import pyvista
  from pyvista.plotting._property import _check_range
label_desc: Use image node_id 2 for calling a global function with example usage: test_check_range() without return types