code: def test_compute_url_info():
      filepath = utils.tfds_path() / "testing/test_data/6pixels.png"
  
      expected_url_info = checksums.UrlInfo(
          checksum=(
              "04f38ebed34d3b027d2683193766155912fba647158c583c3bdb4597ad8af34c"
          ),
          size=utils.Size(102),
          filename="6pixels.png",
      )
      url_info = checksums.compute_url_info(
          filepath, checksum_cls=hashlib.sha256
      )
      assert url_info == expected_url_info
      assert url_info.filename == expected_url_info.filename
  
imports: import hashlib
  import pathlib
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.download import checksums
label_desc: Use image node_id 2 for calling a global function with example usage: test_compute_url_info() without return types