code: def test_n_steps_type_error():
      x0 = float64("x0")
      const = float64("const")
      x = x0 + const
  
      op = ScalarLoop(init=[x0], constant=[const], update=[x])
      with pytest.raises(
          TypeError,
          match=re.escape(
              "(n_steps) must be of integer type. Got float64"
          ),
      ):
          op(float64("n_steps"), x0, const)
  
imports: import re
  import numpy
  import pytest
  from pytensor import Mode, function
  from pytensor.scalar import Composite, as_scalar, cos, exp, float16, float32, float64, identity, int64, sin
  from pytensor.scalar.loop import ScalarLoop
  from pytensor.tensor import exp
label_desc: Use image node_id 9 for calling a global function with example usage: test_n_steps_type_error() without return types