code: def test_github_path_as_url():
      p = github_path.GithubPath.from_repo(
          "tensorflow/datasets", "v3.1.0"
      )
      p /= "README.md"
      expected = "https://raw.githubusercontent.com/tensorflow/datasets/v3.1.0/README.md"
      assert p.as_raw_url() == expected
  
file_path: datasets/tensorflow_datasets/core/github_api/github_path_test.py
imports: import contextlib
  import os
  import textwrap
  from unittest import mock
  from etils import epath
  import pytest
  from tensorflow_datasets.core.github_api import github_path
label_desc: Use image node_id 6 for calling a global function with example usage: test_github_path_as_url() without return types