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: Theano/theano/compile/tests/test_shared.py
imports: from __future__ import absolute_import, print_function, division
  import numpy
  import unittest
  import theano
  from theano.tensor import Tensor, TensorType
  from theano.compile.sharedvalue import shared
  from theano.compile.sharedvalue import SharedVariable
  from theano.compile.sharedvalue import generic
label_desc: Use image node_id 2 for calling the Test_SharedVariable obj's underlying member method code with example usage: obj.test_strict_generic() without return types