diff options
author | Dmitry Dygalo <dadygalo@gmail.com> | 2016-07-21 10:28:40 +0200 |
---|---|---|
committer | Markus Holtermann <info@markusholtermann.eu> | 2016-07-21 10:08:19 -0400 |
commit | ca32979cdcafe28cc9cba2c189787e536fef9bb9 (patch) | |
tree | 3befb4bf9f46c5e6486039ad7eab549405a00518 /tests/user_commands | |
parent | a05d86a69a7f11f00032b8d7846932b139c670e0 (diff) | |
download | django-ca32979cdcafe28cc9cba2c189787e536fef9bb9.tar.gz |
Made miscellaneous code cleanups
Diffstat (limited to 'tests/user_commands')
-rw-r--r-- | tests/user_commands/tests.py | 2 |
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 |