1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #26125 -- Fixed E731 flake warnings.

This commit is contained in:
userimack
2016-01-23 22:17:07 +05:30
committed by Tim Graham
parent abc0777b63
commit 60586dd737
36 changed files with 176 additions and 75 deletions

View File

@@ -111,7 +111,8 @@ class UtilsTests(SimpleTestCase):
def get_admin_value(self, obj):
return ADMIN_METHOD
simple_function = lambda obj: SIMPLE_FUNCTION
def simple_function(obj):
return SIMPLE_FUNCTION
site_obj = Site(domain=SITE_NAME)
article = Article(