use test assertion that will work in py26