]> granicus.if.org Git - python/commit
Make test_mutants stronger by also adding random keys during comparisons.
authorTim Peters <tim.peters@gmail.com>
Thu, 10 May 2001 20:18:30 +0000 (20:18 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 10 May 2001 20:18:30 +0000 (20:18 +0000)
commit4c02fecf9c1f8a890b04ed3501aa68a636050e38
treed9c2c358524f6343585370ab0842704458e1a22f
parentfd69208b78de964f978b6a070c0fa0729e8d5285
Make test_mutants stronger by also adding random keys during comparisons.
A Mystery:  test_mutants ran amazingly slowly even before dictobject.c
"got fixed".  I don't have a clue as to why.  dict comparison was and
remains linear-time in the size of the dicts, and test_mutants only tries
100 dict pairs, of size averaging just 50.  So "it should" run in less than
an eyeblink; but it takes at least a second on this 800MHz box.
Lib/test/test_mutants.py