Skip to content

Commit 4fab860

Browse files
committed
format test msg
1 parent 09b0819 commit 4fab860

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_concurrent_futures/executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def test_map_exception(self):
6969

7070
self.assertFalse(
7171
gc.get_referrers(error),
72-
msg="the raised error should not have any referrers",
72+
msg="the exception should not have any referrers",
7373
)
7474

7575
tb = error.__traceback__
@@ -81,7 +81,7 @@ def test_map_exception(self):
8181
if isinstance(val, Exception)
8282
and var in val.__traceback__.tb_frame.f_locals
8383
},
84-
msg=f"the raised exception's traceback should not contain an exception that captures itself in its own traceback",
84+
msg=f"the exception's traceback should not contain an exception that captures itself in its own traceback",
8585
)
8686

8787
@support.requires_resource('walltime')

0 commit comments

Comments
 (0)