diff options
| author | Tim Graham <timograham@gmail.com> | 2015-11-12 17:15:12 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-11-12 17:17:28 -0500 |
| commit | 623b8c99fe4f9ecf4d12749eb76791e36bc4fcc2 (patch) | |
| tree | 3bf31a1d10f2035f164eee4ef27e719275ae7c20 | |
| parent | 8e23527075b15704451e3d51bf776e3fda8b09e7 (diff) | |
[1.9.x] Fixed SyntaxWarning in a user_commands test.
| -rw-r--r-- | tests/user_commands/management/commands/optparse_cmd.py | 4 |
1 files changed, 1 insertions, 3 deletions
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"]) |
