code: def _test_add_done_callback_error_ignored(self, cb):
      fut = Future[int]()
      fut.add_done_callback(cb)
  
      fut.set_result(5)
      # error msg logged to stdout
      self.assertEqual(5, fut.wait())
  
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 17 for calling the TestFuture obj's underlying member method code with example usage: obj._test_add_done_callback_error_ignored(cb) without return types