fix issue #1366 by showing a note on the --fulltrace option

This commit is contained in:
Ronny Pfannschmidt
2016-02-10 19:54:10 +01:00
parent f00577f7c4
commit bfa2fadac1
3 changed files with 11 additions and 3 deletions

View File

@@ -391,6 +391,7 @@ class TerminalReporter:
if self.config.option.fulltrace:
excrepr.toterminal(self._tw)
else:
self._tw.line("to show a full traceback on KeyboardInterrupt use --fulltrace", yellow=True)
excrepr.reprcrash.toterminal(self._tw)
def _locationline(self, nodeid, fspath, lineno, domain):