code: def test_strict_generic(self):
      # this should work, because
      # generic can hold anything even when strict=True
  
      u = shared("asdf", strict=False)
      v = shared("asdf", strict=True)
  
      u.set_value(88)
      v.set_value(88)
  
file_path: pytensor/tests/compile/test_shared.py
imports: import numpy
  import pytest
  import pytensor.tensor
  from pytensor.compile.sharedvalue import SharedVariable, shared
  from pytensor.configdefaults import config
  from pytensor.link.c.type import generic
  from pytensor.misc.safe_asarray import _asarray
  from pytensor.tensor.type import TensorType, bscalar, bvector, dscalar, dvector, fscalar, fvector, iscalar, ivector, lscalar, lvector, wscalar, wvector
  from pytensor.utils import PYTHON_INT_BITWIDTH
label_desc: Use image node_id 2 for calling the TestSharedVariable obj's underlying member method code with example usage: obj.test_strict_generic() without return types