Fix the confusing different names of `fulltrace` (#5668)
Fix the confusing different names of `fulltrace`
This commit is contained in:
		
						commit
						cff58457dd
					
				| 
						 | 
					@ -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,
 | 
				
			||||||
                )
 | 
					                )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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*"])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue