code: def test_explicit_shared_input(self):
      # This is not a test of the In class per se, but the In class relies
      # on the fact that shared variables cannot be explicit inputs
      a = shared(1.0)
      with pytest.raises(TypeError):
          function([a], a + 1)
  
imports: import os
  import pickle
  import re
  import shutil
  import tempfile
  import numpy
  import pytest
  from pytensor.compile import shared
  from pytensor.compile.function import function, function_dump
  from pytensor.compile.io import In
  from pytensor.configdefaults import config
  from pytensor.tensor.type import bscalar, bvector, dscalar, dvector, fscalar, fvector, vector, wvector
label_desc: Use image node_id 2 for calling the TestFunctionIn obj's underlying member method code with example usage: obj.test_explicit_shared_input() without return types