Opened 11 years ago
Closed 11 years ago
#20906 closed Bug (fixed)
Test failure on Oracle: test_lookup_with_non_string_value
Reported by: | Shai Berger | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 1.4 |
Severity: | Normal | Keywords: | oracle |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Running tests on updated stable/1.4.x:
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
Change History (3)
comment:1 by , 11 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 11 years ago
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.
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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?