code: def test_no_reuse():
      x = lvector()
      y = lvector()
      f = pytensor.function([x, y], x + y)
  
      # provide both inputs in the first call
      f(np.ones(10, dtype="int64"), np.ones(10, dtype="int64"))
  
      try:
          f(np.ones(10))
      except TypeError:
          return
      assert not "should not get here"
  
file_path: pytensor/tests/tensor/test_gc.py
imports: import pickle
  import time
  import numpy
  import pytest
  import pytensor
  from pytensor.compile.mode import Mode
  from pytensor.link.basic import PerformLinker
  from pytensor.link.c.basic import OpWiseCLinker
  from pytensor.tensor.type import dvector, lvector
label_desc: Use image node_id 1 for calling a global function with example usage: test_no_reuse() without return types