code: def test_unpickle_legacy_op(self):
      testfile_dir = os.path.dirname(os.path.realpath(__file__))
      fname = "test_sandbox_multinomial_wo_replacement.pkl"
  
      if not PY3:
          with open(os.path.join(testfile_dir, fname), "r") as fp:
              u = CompatUnpickler(fp)
              m = u.load()
              print(m)
              assert isinstance(m, multinomial.ChoiceFromUniform)
  
file_path: Theano/theano/sandbox/tests/test_multinomial_wo_replacement.py
imports: from __future__ import absolute_import, print_function, division
  import numpy
  import os
  from theano import config, function, tensor
  from theano.compat import PY3
  from theano.misc.pkl_utils import CompatUnpickler
  from theano.sandbox import multinomial
  from theano.sandbox.rng_mrg import MRG_RandomStreams
  import unittest
label_desc: Use image node_id 4 for calling the test_function obj's underlying member method code with example usage: obj.test_unpickle_legacy_op() without return types