From 868670b5f226fddd85452187621f6e610fff918e Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sun, 31 Oct 2010 19:02:38 +0100 Subject: [PATCH] fix --help output for ini-options --- pytest/plugin/helpconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest/plugin/helpconfig.py b/pytest/plugin/helpconfig.py index 1bae3768b..df60b6d30 100644 --- a/pytest/plugin/helpconfig.py +++ b/pytest/plugin/helpconfig.py @@ -44,7 +44,7 @@ def showhelp(config): tw.line("setup.cfg or tox.ini options to be put into [pytest] section:") tw.line() - for name, help in sorted(config._parser._inidict.items()): + for name, (help, type) in sorted(config._parser._inidict.items()): line = " %-15s %s" %(name, help) tw.line(line[:tw.fullwidth])