There is a call to randrange in SmallParsimony (phylogeny.py). Initially the test passed, but it sometimes fails now.