summaryrefslogtreecommitdiff
path: root/tests/user_commands
diff options
context:
space:
mode:
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