fix test breakage from spurious pypa/pip api changes