diff options
author | Alasdair Nicol <alasdair@thenicols.net> | 2013-10-20 00:33:10 +0100 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2013-10-21 08:31:30 -0400 |
commit | b289fcf1bfeaa717ed465b2529a275b61dc02d92 (patch) | |
tree | 1b43958bb74005ccb93f3cd12ce4bc13d9747ab2 /tests/basic | |
parent | a3690168cbde5e7bee16443569ad3dedd2466af7 (diff) | |
download | django-b289fcf1bfeaa717ed465b2529a275b61dc02d92.tar.gz |
Fixed #21288 -- Fixed E126 pep8 warnings
Diffstat (limited to 'tests/basic')
-rw-r--r-- | tests/basic/tests.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/basic/tests.py b/tests/basic/tests.py index 5d5e93b1e4..195030c714 100644 --- a/tests/basic/tests.py +++ b/tests/basic/tests.py @@ -605,8 +605,7 @@ class ModelTest(TestCase): ) dicts = Article.objects.filter( - pub_date__year=2008).extra( - select={'dashed-value': '1'} + pub_date__year=2008).extra(select={'dashed-value': '1'} ).values('headline', 'dashed-value') self.assertEqual([sorted(d.items()) for d in dicts], [[('dashed-value', 1), ('headline', 'Article 11')], [('dashed-value', 1), ('headline', 'Article 12')]]) @@ -629,8 +628,7 @@ class ModelTest(TestCase): ) articles = Article.objects.filter( - pub_date__year=2008).extra( - select={'dashed-value': '1', 'undashedvalue': '2'}) + pub_date__year=2008).extra(select={'dashed-value': '1', 'undashedvalue': '2'}) self.assertEqual(articles[0].undashedvalue, 2) def test_create_relation_with_ugettext_lazy(self): |