mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #21298 -- Fixed E301 pep8 warnings
This commit is contained in:
@@ -1342,6 +1342,7 @@ class CommandTypes(AdminScriptTestCase):
|
||||
Also test proper traceback display.
|
||||
"""
|
||||
command = BaseCommand()
|
||||
|
||||
def raise_command_error(*args, **kwargs):
|
||||
raise CommandError("Custom error")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user