use assertions that work in py26 too