summaryrefslogtreecommitdiff
path: root/tests/user_commands
diff options
context:
space:
mode:
authorDmitry Dygalo <dadygalo@gmail.com>2016-07-21 10:28:40 +0200
committerMarkus Holtermann <info@markusholtermann.eu>2016-07-21 10:08:19 -0400
commitca32979cdcafe28cc9cba2c189787e536fef9bb9 (patch)
tree3befb4bf9f46c5e6486039ad7eab549405a00518 /tests/user_commands
parenta05d86a69a7f11f00032b8d7846932b139c670e0 (diff)
downloaddjango-ca32979cdcafe28cc9cba2c189787e536fef9bb9.tar.gz
Made miscellaneous code cleanups
Diffstat (limited to 'tests/user_commands')
-rw-r--r--tests/user_commands/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/user_commands/tests.py b/tests/user_commands/tests.py
index 1921c6a30c..d448e55869 100644
--- a/tests/user_commands/tests.py
+++ b/tests/user_commands/tests.py
@@ -146,7 +146,7 @@ class CommandTests(SimpleTestCase):
self.counter = 0
def patched_check(self_, **kwargs):
- self.counter = self.counter + 1
+ self.counter += 1
saved_check = BaseCommand.check
BaseCommand.check = patched_check