We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a438301 commit ada6140Copy full SHA for ada6140
1 file changed
Lib/test/test_concurrent_futures/executor.py
@@ -79,7 +79,7 @@ def test_map_exception(self):
79
var: val
80
for var, val in tb.tb_frame.f_locals.items()
81
if isinstance(val, Exception)
82
- or (isinstance(val, futures.Future) and val.exception())
+ or (isinstance(val, futures.Future) and val._exception)
83
},
84
msg=f"traceback frames should not contain any variables referring to an Exception or a failed Future",
85
)
0 commit comments