Make sure tests don't fail when pytest exits with non-0 code