﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
24518	OptionParser verbosity not cast to int (Python3)	Thierry Jossermoz	Thierry Jossermoz	"With Python3, when not using argparse for a management command, the verbosity option uses a type=choice, which leads to a `TypeError: unorderable types: str() > int()` in `django/core/management/commands/test.py` at line 65 (`if options['verbosity'] > 0`)

The problem comes from this line in `django/core/management/base.py`:
{{{
parser.add_option('-v', '--verbosity', action='store', dest='verbosity', default='1',
    type='choice', choices=['0', '1', '2', '3'],
    help='Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output')
}}}"	Bug	assigned	Core (Management commands)	1.8rc1	Normal				Unreviewed	0	0	0	0	1	0
