Skip to content

Commit d5e8c7a

Browse files
committed
narrow test: traceback frames should not contain any exception
1 parent ada6140 commit d5e8c7a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/test/test_concurrent_futures/executor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ def test_map_exception(self):
7979
var: val
8080
for var, val in tb.tb_frame.f_locals.items()
8181
if isinstance(val, Exception)
82-
or (isinstance(val, futures.Future) and val._exception)
8382
},
84-
msg=f"traceback frames should not contain any variables referring to an Exception or a failed Future",
83+
msg=f"traceback frames should not contain any exception",
8584
)
8685

8786
@support.requires_resource('walltime')

0 commit comments

Comments
 (0)