Lines Matching refs:fut
362 cancelled = [fut for fut in fs if fut.cancelled()]
366 # Use "not fut.cancelled()" instead of "fut.done()" to include futures
368 others = [fut for fut in fs if not fut.cancelled()]
369 for fut in others:
370 self.assertTrue(fut.done(), msg=f"{fut._state=}")
371 self.assertIsNone(fut.exception())
975 fut = pool.submit(log_n_wait, ident="first")
984 fut.result()
1005 for fut in futures:
1006 self.assertRaises(BrokenProcessPool, fut.result)