diff --git a/tests/regressiontests/queries/models.py b/tests/regressiontests/queries/models.py index 3c3b8408832..5231eac8be1 100644 --- a/tests/regressiontests/queries/models.py +++ b/tests/regressiontests/queries/models.py @@ -833,8 +833,8 @@ True Bug #7791 -- there were "issues" when ordering and distinct-ing on fields related via ForeignKeys. ->>> Note.objects.order_by('extrainfo__info').distinct() -[, , ] +>>> len(Note.objects.order_by('extrainfo__info').distinct()) +3 """}