Reduce the doctest lease duration...
[python_utils.git] / smart_future.py
index 86f1b1c42ad32bb85eb206e51c33543a8c57f9cd..625c3ed66b63b3ec17e5dc94897a3ca1a88a5451 100644 (file)
@@ -58,7 +58,6 @@ def wait_any(
         smart_future_by_real_future[x.wrapped_future] = x
 
     while len(completed_futures) != len(real_futures):
-        print("TOP...")
         try:
             newly_completed_futures = concurrent.futures.as_completed(real_futures, timeout=timeout)
             for f in newly_completed_futures:
@@ -75,7 +74,6 @@ def wait_any(
                         raise exception
                 yield smart_future_by_real_future[f]
         except TimeoutError:
-            print(f"HERE!!! {len(completed_futures)} / {len(real_futures)}.")
             if callback is not None:
                 callback()
     if callback is not None: