assert_in fails on py2.6, so roll our own.