code: def test_until(mode):
      n_steps = int64("n_steps")
      x0 = float64("x0")
      x = x0 + 1
      until = x >= 10
  
      op = ScalarLoop(init=[x0], update=[x], until=until)
      fn = function([n_steps, x0], op(n_steps, x0), mode=mode)
      np.testing.assert_allclose(fn(n_steps=20, x0=0), [10, True])
      np.testing.assert_allclose(fn(n_steps=20, x0=1), [10, True])
      np.testing.assert_allclose(fn(n_steps=5, x0=1), [6, False])
  
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 4 for calling a global function with example usage: test_until(mode) without return types