code: def use_my_context(self):
      try:
          for _ in range(100):
              with MyContext() as a:
                  for _ in range(100):
                      self.assertTrue(MyContext.current() == a)
      except Exception as e:
          self._exceptions.append(e)
  
file_path: pytorch/caffe2/python/context_test.py
imports: from caffe2.python import context, test_util
  from threading import Thread
label_desc: Use image node_id 1 for calling the TestContext obj's underlying member method code with example usage: obj.use_my_context() without return types