code: def test_rename_features():
      rename_fn = transform_lib.rename_features({"a": "x", "b": "y"})
      example = {"a": 1, "b": 2, "c": 3}
      expected = {"x": 1, "y": 2, "c": 3}
      assert list(rename_fn(example=example)) == [expected]
  
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 15 for calling a global function with example usage: test_rename_features() without return types