code: def test_float_warnings(self):
      run = init_run(mode="debug")
  
      with pytest.warns(NeptuneUnsupportedValue):
          run["train"].append({"supported_1": 1, "supported_2": 2})
          run["train"].append(
              {"unsupported": float("nan"), "supported_3": float(3)}
          )
          run["train"].append({"nef_infinity": float("-inf")})
          run["train"].append({"infinity": float("inf")})
  
          assert run["train/supported_1"].fetch_last() == 1
          assert run["train/supported_2"].fetch_last() == 2
          assert run["train/supported_3"].fetch_last() == 3
  
      run.stop()
  
file_path: neptune-client/tests/unit/neptune/new/attributes/series/test_float_series.py
imports: import pytest
  from mock import MagicMock, patch
  from neptune import init_run
  from neptune.attributes.series.float_series import FloatSeries
  from neptune.common.warnings import NeptuneUnsupportedValue
  from tests.unit.neptune.new.attributes.test_attribute_base import TestAttributeBase
label_desc: Use image node_id 5 for calling the TestFloatSeries obj's underlying member method code with example usage: obj.test_float_warnings() without return types