add py.test version to verbose reporting

correctly regen setup

--HG--
branch : 1.0.x
This commit is contained in:
holger krekel
2009-06-24 16:57:55 +02:00
parent 2b12f3f538
commit a137b62370
3 changed files with 52 additions and 10 deletions

View File

@@ -204,6 +204,7 @@ class TerminalReporter:
msg = "python: platform %s -- Python %s" % (sys.platform, verinfo)
if self.config.option.verbose or self.config.option.debug:
msg += " -- " + str(sys.executable)
msg += " -- pytest-%s" % (py.__version__)
self.write_line(msg)
if self.config.option.debug or self.config.option.traceconfig: