mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #26125 -- Fixed E731 flake warnings.
This commit is contained in:
@@ -690,7 +690,8 @@ class CustomTestClientTest(SimpleTestCase):
|
||||
self.assertEqual(hasattr(self.client, "i_am_customized"), True)
|
||||
|
||||
|
||||
_generic_view = lambda request: HttpResponse(status=200)
|
||||
def _generic_view(request):
|
||||
return HttpResponse(status=200)
|
||||
|
||||
|
||||
@override_settings(ROOT_URLCONF='test_client.urls')
|
||||
|
||||
Reference in New Issue
Block a user