code: def test_copy_from_proto_shows_deprecation_warning(self):
      with self.assertWarns(DeprecationWarning):
          owner = model_card.Owner(name="my_name1")
          owner_proto = model_card_pb2.Owner(
              name="my_name2", contact="my_contact2"
          )
          owner.copy_from_proto(owner_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 3 for calling the ModelCardTest obj's underlying member method code with example usage: obj.test_copy_from_proto_shows_deprecation_warning() without return types