code: def testWrapper(self):
      directory = self.get_temp_dir()
      prefix = os.path.join(directory, "ckpt")
      root = util.Checkpoint(numpy=_NumpyWrapper(numpy.array([1.0])))
      save_path = root.save(prefix)
      root.numpy.array *= 2.0
      self.assertEqual([2.0], root.numpy.array)
      root.restore(save_path)
      self.assertEqual([1.0], root.numpy.array)
  
imports: import io
  import os
  import numpy
  from tensorflow.python.checkpoint import checkpoint
  from tensorflow.python.client import session
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.module import module
  from tensorflow.python.platform import test
  from tensorflow.python.trackable import python_state
label_desc: Use image node_id 1 for calling the NumpyStateTests obj's underlying member method code with example usage: obj.testWrapper() without return types