terinalwriter: use dash between plugin name and version
This commit is contained in:
parent
2c42f15e00
commit
740a97a8cc
|
@ -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:]
|
||||
|
|
Loading…
Reference in New Issue