code: def release_readme_verify():
      
      version = "{version}"
      expected = populate_readme(
          version,
          version,
          pypi="",
          pypi_img="",
          versions="\n\n",
          versions_img="",
          circleci_badge=CIRCLECI_BADGE_RELEASE,
          circleci_path="/{circleci_build}",
          travis_badge=TRAVIS_BADGE_RELEASE,
          travis_path="/builds/{travis_build}",
          appveyor_badge=APPVEYOR_BADGE_RELEASE,
          appveyor_path="/build/{appveyor_build}",
          coveralls_badge=COVERALLS_BADGE_RELEASE,
          coveralls_path="builds/{coveralls_build}",
      )
      with open(RELEASE_README_FILE, "r") as file_obj:
          contents = file_obj.read()
      if contents != expected:
          err_msg = "\n" + get_diff(
              contents,
              expected,
              "README.rst.release.actual",
              "README.rst.release.expected",
          )
          raise ValueError(err_msg)
  
      else:
          print("README.rst.release.template contents are as expected.")
docs: Specialize the template to a PyPI release template.
  
      Once populated, compare to ``README.rst.release.template``.
  
      Raises:
          ValueError: If the current template doesn't agree with the expected
              value specialized from the template.