code: def test_renaming():
      renamer = compose.Renamer(dict(a="z", b="y", c="x"))
      assert renamer.transform_one(dict(a=1, b=2, d=3)) == dict(
          z=1, y=2, d=3
      )
  
file_path: river/river/compose/test_product.py
imports: from __future__ import annotations
  import numpy
  import pandas
  from sklearn import datasets
  from sklearn import linear_model
  from river import compat, compose, datasets, preprocessing, stream
label_desc: Use image node_id 7 for calling a global function with example usage: test_renaming() without return types