diff --git a/tests/user_commands/management/commands/optparse_cmd.py b/tests/user_commands/management/commands/optparse_cmd.py index 09de44b200..fbbb612f87 100644 --- a/tests/user_commands/management/commands/optparse_cmd.py +++ b/tests/user_commands/management/commands/optparse_cmd.py @@ -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"])