code: def testFloatTypePrecisionLossWarning(self, *unused_mocks):
      instance = standard_artifacts.Float()
      # TODO(b/156776413): with self.assertWarnsRegex('lost precision'):
      self.assertAlmostEqual(
          instance.decode(_TEST_FLOAT128_RAW), _TEST_FLOAT128
      )
      # Lost precision warning
      absl.logging.warning.assert_called_once()
  
imports: import math
  from typing import Any, Dict
  from unittest import mock
  import absl
  import tensorflow
  from tfx.types import standard_artifacts
  from tfx.utils import json_utils
label_desc: Use image node_id 10 for calling the StandardArtifactsTest obj's underlying member method code with example usage: obj.testFloatTypePrecisionLossWarning() without return types