Skip to content

Commit

Permalink
test future fail path
Browse files Browse the repository at this point in the history
  • Loading branch information
benclifford committed Jan 14, 2025
1 parent 3c81397 commit bdb4857
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions parsl/tests/test_python_apps/test_dep_standard_futures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("<Future ")

0 comments on commit bdb4857

Please sign in to comment.