code: def test_raw_metric_data_aware_timestamp():
      aware_datetime = datetime.datetime.now(
          dateutil.tz.gettz("America/Chicago")
      )
      assert aware_datetime.tzinfo
      metric = _RawMetricData(
          metric_name="foo", value=1.0, timestamp=aware_datetime
      )
      assert (aware_datetime - aware_datetime.utcoffset()).replace(
          tzinfo=datetime.timezone.utc
      ).timestamp() == metric.Timestamp
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/experiments/test_metrics.py
imports: from __future__ import absolute_import
  import os
  import pytest
  import tempfile
  import shutil
  import datetime
  import dateutil
  import time
  from sagemaker.experiments._metrics import _RawMetricData
label_desc: Use image node_id 6 for calling a global function with example usage: test_raw_metric_data_aware_timestamp() without return types