code: def test_abstract_base_class():
      # confirm that the abstract base class can't be instantiated directly
      with pytest.raises(TypeError) as _:  # noqa: F841
          AnalyticsMetricsBase()
  
imports: from __future__ import absolute_import
  import datetime
  import os
  import uuid
  import pytest
  from mock import Mock
  from sagemaker.analytics import AnalyticsMetricsBase, HyperparameterTuningJobAnalytics, TrainingJobAnalytics
  from sagemaker.session_settings import SessionSettings
label_desc: Use image node_id 6 for calling a global function with example usage: test_abstract_base_class() without return types