code: def test_float_duration(tmp_path):
      temp_file = str(tmp_path / "temp.webp")
      with Image.open("Tests/images/iss634.apng") as im:
          assert im.info["duration"] == 70.0
  
          im.save(temp_file, save_all=True)
  
      with Image.open(temp_file) as reloaded:
          reloaded.load()
          assert reloaded.info["duration"] == 70
  
file_path: pillow/Tests/test_file_webp_animated.py
imports: from __future__ import annotations
  import pytest
  from packaging.version import parse
  from PIL import Image, features
  from .helper import assert_image_equal, assert_image_similar, is_big_endian, skip_unless_feature
label_desc: Use image node_id 5 for calling a global function with example usage: test_float_duration(tmp_path) without return types