code: def test_rename_feature():
      rename_fn = transform_lib.rename_feature("a", "b")
      assert list(rename_fn(example={"a": 1})) == [{"b": 1}]
  
file_path: datasets/tensorflow_datasets/core/transform/transform_lib_test.py
imports: import functools
  from typing import Iterator
  import pytest
  from tensorflow_datasets.core.transform import transform_lib
label_desc: Use image node_id 14 for calling a global function with example usage: test_rename_feature() without return types