mirror of
https://github.com/django/django.git
synced 2025-11-02 04:48:33 +00:00
Made miscellaneous code cleanups
This commit is contained in:
parent
a05d86a69a
commit
ca32979cdc
6 changed files with 11 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue