Fix the confusing different names of `fulltrace` (#5668)

Fix the confusing different names of `fulltrace`
This commit is contained in:
Bruno Oliveira 2019-08-01 10:30:17 -03:00 committed by GitHub
commit cff58457dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -692,7 +692,7 @@ class TerminalReporter:
else: else:
excrepr.reprcrash.toterminal(self._tw) excrepr.reprcrash.toterminal(self._tw)
self._tw.line( self._tw.line(
"(to show a full traceback on KeyboardInterrupt use --fulltrace)", "(to show a full traceback on KeyboardInterrupt use --full-trace)",
yellow=True, yellow=True,
) )

View File

@ -233,7 +233,7 @@ class TestTerminal:
) )
else: else:
result.stdout.fnmatch_lines( result.stdout.fnmatch_lines(
["(to show a full traceback on KeyboardInterrupt use --fulltrace)"] ["(to show a full traceback on KeyboardInterrupt use --full-trace)"]
) )
result.stdout.fnmatch_lines(["*KeyboardInterrupt*"]) result.stdout.fnmatch_lines(["*KeyboardInterrupt*"])