code: def test_pickle_future(self):
      fut = Future[int]()
      errMsg = "Can not pickle torch.futures.Future"
      with TemporaryFileName() as fname:
          with self.assertRaisesRegex(RuntimeError, errMsg):
              torch.save(fut, fname)
  
imports: import threading
  import time
  import torch
  import unittest
  from torch.futures import Future
  from torch.testing._internal.common_utils import IS_WINDOWS, TestCase, TemporaryFileName, run_tests
  from typing import TypeVar
label_desc: Use image node_id 8 for calling the TestFuture obj's underlying member method code with example usage: obj.test_pickle_future() without return types