code: def test_repr(self):
      self.assertRegex(
          repr(PENDING_FUTURE), "<Future at 0x[0-9a-f]+ state=pending>"
      )
      self.assertRegex(
          repr(RUNNING_FUTURE), "<Future at 0x[0-9a-f]+ state=running>"
      )
      self.assertRegex(
          repr(CANCELLED_FUTURE),
          "<Future at 0x[0-9a-f]+ state=cancelled>",
      )
      self.assertRegex(
          repr(CANCELLED_AND_NOTIFIED_FUTURE),
          "<Future at 0x[0-9a-f]+ state=cancelled>",
      )
      self.assertRegex(
          repr(EXCEPTION_FUTURE),
          "<Future at 0x[0-9a-f]+ state=finished raised OSError>",
      )
      self.assertRegex(
          repr(SUCCESSFUL_FUTURE),
          "<Future at 0x[0-9a-f]+ state=finished returned int>",
      )
  
imports: import threading
  import time
  import unittest
  from concurrent import futures
  from concurrent.futures._base import PENDING, RUNNING, CANCELLED, CANCELLED_AND_NOTIFIED, FINISHED, Future
  from test import support
  from .util import PENDING_FUTURE, RUNNING_FUTURE, CANCELLED_FUTURE, CANCELLED_AND_NOTIFIED_FUTURE, EXCEPTION_FUTURE, SUCCESSFUL_FUTURE, BaseTestCase, create_future, setup_module
label_desc: Use image node_id 9 for calling the FutureTests obj's underlying member method code with example usage: obj.test_repr() without return types