diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2012-08-14 15:24:43 +0300 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2012-08-14 15:24:43 +0300 |
| commit | 8fe03865f7d7059e051976d1f9336f2ff83a30c6 (patch) | |
| tree | ea959a79c343321f997405ca7903ed5e9d728cbe /tests/regressiontests/admin_scripts/complex_app/admin/foo.py | |
| parent | 9299dc42ed4986d2a1eb7c7f7fe7c276b9f6b6d6 (diff) | |
[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.
Diffstat (limited to 'tests/regressiontests/admin_scripts/complex_app/admin/foo.py')
0 files changed, 0 insertions, 0 deletions
