FAIL: test_lookup_with_non_string_value
(regressiontests.admin_filters.tests.ListFiltersTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/django/django/tests/regressiontests/admin_filters/tests.py",
line 685, in test_lookup_with_non_string_value
self.assertEqual(choices[2]['display'], u'DEV')
AssertionError: u'DSN' != u'DEV'
- DSN
+ DEV
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20906>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_docs: => 0
* has_patch: 0 => 1
* needs_better_patch: => 0
* needs_tests: => 0
* stage: Unreviewed => Accepted
Comment:
I can't reproduce this on my Oracle setup -- it looks like it may be
dependent on Python version (set ordering). It may be fixed if we backport
[1ae64e96] (looks like 1.5 doesn't have the fix either though). Could you
confirm?
--
Ticket URL: <https://code.djangoproject.com/ticket/20906#comment:1>
Comment (by timo):
Actually I can reproduce if I run the entire test suite instead of just
the `admin_filters` app. Testing if backporting the above commit (which I
now see was backported to 1.5.x) solves the issue.
--
Ticket URL: <https://code.djangoproject.com/ticket/20906#comment:2>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"d5da495a2edc741b6496821baa0d6bcee9dce9bb"]:
{{{
#!CommitTicketReference repository=""
revision="d5da495a2edc741b6496821baa0d6bcee9dce9bb"
[1.4.x] Fixed #20906 -- Fixed a dependence on set-ordering in tests
Backport of 1ae64e96c1 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20906#comment:3>