parent
							
								
									6f697294b2
								
							
						
					
					
						commit
						93712a3ce6
					
				| 
						 | 
					@ -284,7 +284,7 @@ class TerminalReporter:
 | 
				
			||||||
        self._sessionstarttime = py.std.time.time()
 | 
					        self._sessionstarttime = py.std.time.time()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        verinfo = ".".join(map(str, sys.version_info[:3]))
 | 
					        verinfo = ".".join(map(str, sys.version_info[:3]))
 | 
				
			||||||
        msg = "python: platform %s -- Python %s" % (sys.platform, verinfo)
 | 
					        msg = "platform %s -- Python %s" % (sys.platform, verinfo)
 | 
				
			||||||
        msg += " -- pytest-%s" % (py.__version__)
 | 
					        msg += " -- pytest-%s" % (py.__version__)
 | 
				
			||||||
        if self.config.option.verbose or self.config.option.debug or getattr(self.config.option, 'pastebin', None):
 | 
					        if self.config.option.verbose or self.config.option.debug or getattr(self.config.option, 'pastebin', None):
 | 
				
			||||||
            msg += " -- " + str(sys.executable)
 | 
					            msg += " -- " + str(sys.executable)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -525,7 +525,7 @@ class TestTerminalFunctional:
 | 
				
			||||||
        verinfo = ".".join(map(str, py.std.sys.version_info[:3]))
 | 
					        verinfo = ".".join(map(str, py.std.sys.version_info[:3]))
 | 
				
			||||||
        result.stdout.fnmatch_lines([
 | 
					        result.stdout.fnmatch_lines([
 | 
				
			||||||
            "*===== test session starts ====*",
 | 
					            "*===== test session starts ====*",
 | 
				
			||||||
            "python: platform %s -- Python %s*" %(
 | 
					            "platform %s -- Python %s*" %(
 | 
				
			||||||
                    py.std.sys.platform, verinfo), # , py.std.sys.executable),
 | 
					                    py.std.sys.platform, verinfo), # , py.std.sys.executable),
 | 
				
			||||||
            "*test_header_trailer_info.py .",
 | 
					            "*test_header_trailer_info.py .",
 | 
				
			||||||
            "=* 1 passed in *.[0-9][0-9] seconds *=", 
 | 
					            "=* 1 passed in *.[0-9][0-9] seconds *=", 
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue