RE: [Python-Dev] test_sort.py failure
29 Jul
2004
29 Jul
'04
1:19 a.m.
[Mark Russell]
I had exactly the same thing happen today as well (unrepeatable failure in test_bug453523). Would it defeat the purpose of the test to use a fixed starting point for the random numbers so the results are repeatable?
Yes, it would defeat the purpose. Randomization is there deliberately to minimize dubious assumptions. And this paid off! list.sort() is broken now in a way it wasn't broken in 2.3, and a fixed test case probably would not have revealed this.
7210
Age (days ago)
7210
Last active (days ago)
0 comments
1 participants
participants (1)
-
Tim Peters