A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-July/046520.html below:

[Python-Dev] test_sort.py failure

[Python-Dev] test_sort.py failure [Python-Dev] test_sort.py failureTim Peters tim.one at comcast.net
Thu Jul 29 03:19:35 CEST 2004
[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.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4