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 a554f2a commit f33fb85Copy full SHA for f33fb85
src/_pytest/unraisableexception.py
@@ -62,9 +62,9 @@ def collect_unraisable() -> None:
62
except pytest.PytestUnraisableExceptionWarning as e:
63
# This except happens when the warning is treated as an error (e.g. `-Werror`).
64
if meta.exc_value is not None:
65
- # exceptions have a better way to show the traceback, but
+ # Exceptions have a better way to show the traceback, but
66
# warnings do not, so hide the traceback from the msg and
67
- # set the cause so the traceback shows up in the right place
+ # set the cause so the traceback shows up in the right place.
68
e.args = (meta.cause_msg,)
69
e.__cause__ = meta.exc_value
70
errors.append(e)
0 commit comments