mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.
This commit is contained in:
committed by
Tim Graham
parent
0ec4dc91e0
commit
8838d4dd49
@@ -76,8 +76,7 @@ class CollectionTestCase(BaseStaticFilesMixin, SimpleTestCase):
|
||||
self.patched_settings.disable()
|
||||
super().tearDown()
|
||||
|
||||
def run_collectstatic(self, **kwargs):
|
||||
verbosity = kwargs.pop('verbosity', 0)
|
||||
def run_collectstatic(self, *, verbosity=0, **kwargs):
|
||||
call_command('collectstatic', interactive=False, verbosity=verbosity,
|
||||
ignore_patterns=['*.ignoreme'], **kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user