code: def test_defaults(self):
      for policy, expected in self.policies.items():
          for attr, value in expected.items():
              with self.subTest(policy=policy, attr=attr):
                  self.assertEqual(
                      getattr(policy, attr),
                      value,
                      (
                          "change {} docs/docstrings if defaults have "
                          "changed"
                      ).format(policy),
                  )
  
imports: import io
  import types
  import textwrap
  import unittest
  import email.errors
  import email.policy
  import email.parser
  import email.generator
  import email.message
  from email import headerregistry
label_desc: Use image node_id 1 for calling the PolicyAPITests obj's underlying member method code with example usage: obj.test_defaults() without return types