code: def test_20369(self):
      # See https://bugs.python.org/issue20369
      future = self.executor.submit(time.sleep, 1.5)
      done, not_done = futures.wait(
          [future, future], return_when=futures.ALL_COMPLETED
      )
      self.assertEqual({future}, done)
      self.assertEqual(set(), not_done)
  
imports: import sys
  import threading
  import time
  import unittest
  from concurrent import futures
  from test import support
  from .util import CANCELLED_FUTURE, CANCELLED_AND_NOTIFIED_FUTURE, EXCEPTION_FUTURE, SUCCESSFUL_FUTURE, create_executor_tests, setup_module, BaseTestCase, ThreadPoolMixin, ProcessPoolForkMixin, ProcessPoolForkserverMixin, ProcessPoolSpawnMixin
label_desc: Use image node_id 1 for calling the WaitTests obj's underlying member method code with example usage: obj.test_20369() without return types