code: def testInvalidTypeAnnotation(self):
      with self.assertRaisesRegex(
          ValueError, "is not a subclass of SystemArtifact"
      ):
          _ArtifactWithInvalidAnnotation()
  
imports: import json
  import textwrap
  from unittest import mock
  from absl import logging
  import tensorflow
  from tfx.types import artifact
  from tfx.types import system_artifacts
  from tfx.types import value_artifact
  from tfx.utils import json_utils
  from google.protobuf import struct_pb2
  from google.protobuf import json_format
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 14 for calling the ArtifactTest obj's underlying member method code with example usage: obj.testInvalidTypeAnnotation() without return types