code: def _check_disallowed_subtype_raises(
      self, m, method_name, subtype, method
  ):
      with self.assertRaises(ValueError) as ar:
          getattr(m, method)()
      exc_text = str(ar.exception)
      self.assertIn(subtype, exc_text)
      self.assertIn(method_name, exc_text)
  
imports: import unittest
  import textwrap
  from email import policy, message_from_string
  from email.message import EmailMessage, MIMEPart
  from test.test_email import TestEmailBase, parameterize
label_desc: Use image node_id 9 for calling the TestEmailMessageBase obj's underlying member method code with example usage: obj._check_disallowed_subtype_raises(m, method_name, subtype, method) without return types