fixup error in nosetest