diff --git a/tests/extra_regress/tests.py b/tests/extra_regress/tests.py
index ae8f1b4..a34c1f5 100644
a
|
b
|
class ExtraRegressTests(TestCase):
|
306 | 306 | |
307 | 307 | self.assertQuerysetEqual( |
308 | 308 | TestObject.objects.filter( |
309 | | pk__in=TestObject.objects.values('pk').extra(select={'extra': 1}) |
| 309 | pk__in=TestObject.objects.values('pk').extra(select={'extra': 1}) |
310 | 310 | ), |
311 | 311 | ['<TestObject: TestObject: first,second,third>'] |
312 | 312 | ) |
313 | 313 | |
314 | 314 | self.assertQuerysetEqual( |
315 | 315 | TestObject.objects.filter(pk=obj.pk) | |
316 | | TestObject.objects.extra(where=["id > %s"], params=[obj.pk]), |
| 316 | TestObject.objects.extra(where=["id > %s"], params=[obj.pk]), |
317 | 317 | ['<TestObject: TestObject: first,second,third>'] |
318 | 318 | ) |
319 | 319 | |
diff --git a/tests/model_regress/tests.py b/tests/model_regress/tests.py
index a029397..fdb3b1f 100644
a
|
b
|
class ModelTests(TestCase):
|
131 | 131 | datetime.date(1, 3, 3), |
132 | 132 | ], |
133 | 133 | attrgetter("when") |
134 | | ) |
| 134 | ) |
135 | 135 | |
136 | 136 | if (3,) <= sys.version_info < (3, 3) and connection.vendor == 'mysql': |
137 | 137 | # In Python < 3.3, datetime.strftime raises an exception for years |
diff --git a/tests/prefetch_related/tests.py b/tests/prefetch_related/tests.py
index 6e0b617..6f51d8d 100644
a
|
b
|
class ForeignKeyToFieldTest(TestCase):
|
440 | 440 | with self.assertNumQueries(3): |
441 | 441 | qs = Author.objects.all().prefetch_related('favorite_authors', 'favors_me') |
442 | 442 | favorites = [( |
443 | | [six.text_type(i_like) for i_like in author.favorite_authors.all()], |
444 | | [six.text_type(likes_me) for likes_me in author.favors_me.all()] |
445 | | ) for author in qs] |
| 443 | [six.text_type(i_like) for i_like in author.favorite_authors.all()], |
| 444 | [six.text_type(likes_me) for likes_me in author.favors_me.all()] |
| 445 | ) for author in qs] |
446 | 446 | self.assertEqual( |
447 | 447 | favorites, |
448 | 448 | [ |