1
0
mirror of https://github.com/django/django.git synced 2025-03-12 10:22:37 +00:00
django/tests/regressiontests
Anssi Kääriäinen 8fe03865f7 [py3] Fixed invalid use of dict.items()
An ordering test had two problems related to dict.items() usage:
  - It assumed the order of the dict was non-randomized
  - It indexed to the dict.items() which is py3 incompatible.

I fixed the test by using dict['rank'] directly, where rank is the
column tested on the values queryset.
2012-08-14 15:24:43 +03:00
..
2012-08-08 23:40:20 +02:00
2012-08-09 20:13:29 +02:00