diff options
| author | Alasdair Nicol <alasdair@memset.com> | 2013-10-22 11:21:07 +0100 |
|---|---|---|
| committer | Alasdair Nicol <alasdair@memset.com> | 2013-10-23 13:45:03 +0100 |
| commit | c3aa2948c6c14862407501290571f858ccf45b07 (patch) | |
| tree | 6f0812d7db0fe2f5a6bf9e07f20ba7d442ce8789 /tests/generic_relations_regress | |
| parent | 317040a73b77be8f8210801793b2ce6d1a69301e (diff) | |
Fixed #21298 -- Fixed E301 pep8 warnings
Diffstat (limited to 'tests/generic_relations_regress')
| -rw-r--r-- | tests/generic_relations_regress/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/generic_relations_regress/tests.py b/tests/generic_relations_regress/tests.py index 75edff34f2..d7a43846bb 100644 --- a/tests/generic_relations_regress/tests.py +++ b/tests/generic_relations_regress/tests.py @@ -95,6 +95,7 @@ class GenericRelationTests(TestCase): Link.objects.create(content_object=c) places = list(Place.objects.order_by('links__id')) + def count_places(place): return len([p for p in places if p.id == place.id]) |
