code: def test_write_float_fps(test_images):
      fps = 3.5
      frames = iio.imread(test_images / "cockatoo.mp4", plugin="pyav")
      buffer = iio.imwrite(
          "<bytes>",
          frames,
          extension=".mp4",
          codec="h264",
          plugin="pyav",
          fps=fps,
      )
  
      assert iio.immeta(buffer, plugin="pyav")["fps"] == fps
  
imports: import io
  import warnings
  from contextlib import ExitStack
  from pathlib import Path
  import numpy
  import pytest
  from conftest import IS_PYPY
  import imageio.v3
  from av.video.format import names
  from imageio.plugins.pyav import _format_to_dtype
label_desc: Use image node_id 28 for calling a global function with example usage: test_write_float_fps(test_images) without return types