From 740a97a8cc185df9f5903bfaf141d725be3dde6c Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Mon, 17 Aug 2015 08:48:38 +0200 Subject: [PATCH] terinalwriter: use dash between plugin name and version --- _pytest/terminal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pytest/terminal.py b/_pytest/terminal.py index 54d2660ff..0d8261e83 100644 --- a/_pytest/terminal.py +++ b/_pytest/terminal.py @@ -301,7 +301,7 @@ class TerminalReporter: l = [] for plugin, dist in plugininfo: # gets us name and version! - name = str(dist) + name = '{dist.project_name}-{dist.version}'.format(dist=dist) # questionable convenience, but it keeps things short if name.startswith("pytest-"): name = name[7:]