Fix test that depends on a particular implementation of random.choice().
2 files changed