mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed E225 pep8 warnings.
This commit is contained in:
parent
51d2e1fb23
commit
ae48d77ef8
43 changed files with 102 additions and 91 deletions
|
@ -579,7 +579,7 @@ class Queries1Tests(BaseQuerysetTest):
|
|||
['datetime.datetime(2007, 12, 19, 0, 0)', 'datetime.datetime(2007, 12, 20, 0, 0)']
|
||||
)
|
||||
|
||||
name="one"
|
||||
name = "one"
|
||||
self.assertQuerysetEqual(
|
||||
Item.objects.datetimes('created', 'day').extra(where=['name=%s'], params=[name]),
|
||||
['datetime.datetime(2007, 12, 19, 0, 0)']
|
||||
|
@ -2670,8 +2670,8 @@ class NullJoinPromotionOrTest(TestCase):
|
|||
# b__c__name generates join to c, which the ORM tried to promote but
|
||||
# failed as that join isn't nullable.
|
||||
q_obj = (
|
||||
Q(d__name='foo')|
|
||||
Q(b__name='foo')|
|
||||
Q(d__name='foo') |
|
||||
Q(b__name='foo') |
|
||||
Q(b__c__name='foo')
|
||||
)
|
||||
qset = ModelA.objects.filter(q_obj)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue