Ticket #441 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

test failures on 32-bit architectures

Reported by: carl@… Owned by: andrew
Priority: minor Milestone: 0.7.1
Component: migrations Version: mercurial
Keywords: Cc:


I'm getting 5 test failures running the tests on Ubuntu 9.10, x86 32-bit, Python 2.6.4. Same failures on Postgres or sqlite (modulo an additional error on Postgres which is a separate issue), and on Django 1.1 or trunk. Per discussion on IRC, it appears to be a hidden test dependency on dictionary ordering, which can vary by architecture.

Failure dump attached as a file.

(BTW, might need a new Trac component for "test suite").


south_test_failures.txt (6.8 KB) - added by carl@… 6 years ago.
test failures dump

Change History

Changed 6 years ago by carl@…

test failures dump

comment:1 Changed 6 years ago by carl@…

Adding a couple sorted()s fixes this for me:


It does require changing one test, so you'll want to test if the tests still all pass for you.

comment:2 Changed 6 years ago by andrew

  • Status changed from new to infoneeded
  • Milestone set to 0.7.1

That didn't fix it for me :)

I've committed [2af9e6fb633f], which I think actually solves it; testing is very much welcome!

comment:3 Changed 6 years ago by car@…

Indeed; tests now all pass for me.

comment:4 Changed 6 years ago by andrew

  • Status changed from infoneeded to closed
  • Resolution set to fixed

Excellent, that looks to be fixed then.

Note: See TracTickets for help on using tickets.