Skip to content

Commit cff5845

Browse files
authored
Fix the confusing different names of fulltrace (#5668)
Fix the confusing different names of `fulltrace`
2 parents cb15e7c + aa13c62 commit cff5845

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/_pytest/terminal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ def _report_keyboardinterrupt(self):
692692
else:
693693
excrepr.reprcrash.toterminal(self._tw)
694694
self._tw.line(
695-
"(to show a full traceback on KeyboardInterrupt use --fulltrace)",
695+
"(to show a full traceback on KeyboardInterrupt use --full-trace)",
696696
yellow=True,
697697
)
698698

testing/test_terminal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def test_interrupt_me():
233233
)
234234
else:
235235
result.stdout.fnmatch_lines(
236-
["(to show a full traceback on KeyboardInterrupt use --fulltrace)"]
236+
["(to show a full traceback on KeyboardInterrupt use --full-trace)"]
237237
)
238238
result.stdout.fnmatch_lines(["*KeyboardInterrupt*"])
239239

0 commit comments

Comments
 (0)