code: def test__map_cyclic_errors():
      import pytest
  
      x = np.linspace(0.2, 5.7, 10)
      pytest.raises(ValueError, _map_cyclic, x, 4.5, 3.6)
      pytest.raises(ValueError, _map_cyclic, x, 4.5, 4.5)
  
imports: import numpy
  from patsy.util import have_pandas, atleast_2d_column_default, no_pickling, assert_no_pickling, safe_string_eq
  from patsy.state import stateful_transform
label_desc: Use image node_id 4 for calling a global function with example usage: test__map_cyclic_errors() without return types