code: def test_runtime(self):
      p = hp.HyperoptProposer(self.pc)
      c = p.get()
      p.increment_job_counter()
      job = Job("none", c)
      p.update(0.1, job)
      job.config["tid"] = -100
      self.assertRaises(KeyError, p.update, 0.0, job)
      path = tempfile.mkdtemp()
      sav = os.path.join(path, "save.pkl")
      p.save(sav)
      idx = p.counter
      p = hp.HyperoptProposer(self.pc)
      self.assertNotEqual(idx, p.counter)
      p.reload(sav)
      self.assertEqual(idx, p.counter)
      os.remove(sav)
      os.rmdir(path)
  
file_path: auptimizer/tests/Proposer/test_HyperoptProposer.py
imports: import unittest
  import os
  import tempfile
  from aup.EE.Job import Job
  from aup.Proposer import HyperoptProposer
label_desc: Use image node_id 4 for calling the HyperOptTestCase obj's underlying member method code with example usage: obj.test_runtime() without return types