code: def test_from_proto_with_invalid_proto(self):
      wrong_proto = model_card_pb2.Version()
      with self.assertRaisesRegex(
          TypeError,
          "<class 'model_card_toolkit.proto.model_card_pb2.Owner'> is expected. "
          "However <class 'model_card_toolkit.proto.model_card_pb2.Version'> is "
          "provided.",
      ):
          model_card.Owner.from_proto(wrong_proto)
  
imports: import json
  import os
  import pkgutil
  import jsonschema
  from absl.testing import absltest
  from google.protobuf import text_format
  from model_card_toolkit import model_card
  from model_card_toolkit.proto import model_card_pb2
label_desc: Use image node_id 6 for calling the ModelCardTest obj's underlying member method code with example usage: obj.test_from_proto_with_invalid_proto() without return types