add py.test version to verbose reporting
correctly regen setup --HG-- branch : 1.0.x
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user