From bdb48577c7200c43483ce2f13506bc0988c8d84c Mon Sep 17 00:00:00 2001 From: Ben Clifford Date: Tue, 14 Jan 2025 12:34:26 +0000 Subject: [PATCH] test future fail path --- parsl/tests/test_python_apps/test_dep_standard_futures.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parsl/tests/test_python_apps/test_dep_standard_futures.py b/parsl/tests/test_python_apps/test_dep_standard_futures.py index 4856888d35..29bb6b2709 100644 --- a/parsl/tests/test_python_apps/test_dep_standard_futures.py +++ b/parsl/tests/test_python_apps/test_dep_standard_futures.py @@ -43,3 +43,6 @@ def test_future_fail_dependency(): # Future, plain_fut, somewhere in its str assert repr(plain_fut) in str(ex) + assert len(ex.dependent_exceptions_tids) == 1 + assert isinstance(ex.dependent_exceptions_tids[0][0], ValueError) + assert ex.dependent_exceptions_tids[0][1].startswith("