terser reporting header

--HG--
branch : trunk
This commit is contained in:
holger krekel 2010-05-22 13:59:01 +02:00
parent 6f697294b2
commit 93712a3ce6
2 changed files with 2 additions and 2 deletions

View File

@ -284,7 +284,7 @@ class TerminalReporter:
self._sessionstarttime = py.std.time.time()
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__)
if self.config.option.verbose or self.config.option.debug or getattr(self.config.option, 'pastebin', None):
msg += " -- " + str(sys.executable)

View File

@ -525,7 +525,7 @@ class TestTerminalFunctional:
verinfo = ".".join(map(str, py.std.sys.version_info[:3]))
result.stdout.fnmatch_lines([
"*===== test session starts ====*",
"python: platform %s -- Python %s*" %(
"platform %s -- Python %s*" %(
py.std.sys.platform, verinfo), # , py.std.sys.executable),
"*test_header_trailer_info.py .",
"=* 1 passed in *.[0-9][0-9] seconds *=",