mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28996 -- Simplified some boolean constructs and removed trivial continue statements.
This commit is contained in:
committed by
Tim Graham
parent
4bcec02368
commit
a38ae914d8
@@ -252,7 +252,7 @@ class BaseTests:
|
||||
def test_middleware_disabled_fail_silently(self):
|
||||
"""
|
||||
When the middleware is disabled, an exception is not raised
|
||||
if 'fail_silently' = True
|
||||
if 'fail_silently' is True.
|
||||
"""
|
||||
data = {
|
||||
'messages': ['Test message %d' % x for x in range(5)],
|
||||
|
||||
Reference in New Issue
Block a user