From ca32979cdcafe28cc9cba2c189787e536fef9bb9 Mon Sep 17 00:00:00 2001 From: Dmitry Dygalo Date: Thu, 21 Jul 2016 10:28:40 +0200 Subject: Made miscellaneous code cleanups --- tests/user_commands/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/user_commands') 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 -- cgit v1.3