Message7649
It is indeed the case that ordering of keys should not be relied on. This is the behaviour of the original cpython test, and we target getting all cpython tests to pass on jython. This ordering assumption makes the test non-portable to jython, especially when it is run on different JVMs, as you have found.
Frank Wierzbicki is in the process of fixing these in cpython, so that we don't have to have specialised versions of the tests.
Doctests in test_dictcomp depend on dict order
http://bugs.python.org/issue16886 |
|
Date |
User |
Action |
Args |
2013-02-09 13:56:44 | amak | set | messageid: <1360418204.1.0.332078674922.issue1998@psf.upfronthosting.co.za> |
2013-02-09 13:56:44 | amak | set | recipients:
+ amak, fwierzbicki, geraint, csebasha |
2013-02-09 13:56:44 | amak | link | issue1998 messages |
2013-02-09 13:56:43 | amak | create | |
|