[1.9.x] Fixed SyntaxWarning in a user_commands test.

This commit is contained in:
Tim Graham 2015-11-12 17:15:12 -05:00
parent 8e23527075
commit 623b8c99fe
1 changed files with 1 additions and 3 deletions

View File

@ -16,7 +16,5 @@ class Command(BaseCommand):
options["example"]
# BaseCommand default option is available
options['verbosity']
assert (
isinstance(options['verbosity'], int), "verbosity option is not int, but %s" % type(options['verbosity'])
)
assert isinstance(options['verbosity'], int)
self.stdout.write("All right, let's dance %s." % options["style"])