code: def test_simple_metadata(self):
      attrs = {"name": "package", "version": "1.0"}
      dist = Distribution(attrs)
      meta = self.format_metadata(dist)
      self.assertIn("Metadata-Version: 1.0", meta)
      self.assertNotIn("provides:", meta.lower())
      self.assertNotIn("requires:", meta.lower())
      self.assertNotIn("obsoletes:", meta.lower())
  
imports: import os
  import StringIO
  import sys
  import unittest
  import warnings
  import textwrap
  from distutils.dist import Distribution, fix_help_options
  from distutils.cmd import Command
  import distutils.dist
  from test.test_support import TESTFN, captured_stdout, run_unittest, unlink
  from distutils.tests import support
  from distutils import log
label_desc: Use image node_id 6 for calling the MetadataTestCase obj's underlying member method code with example usage: obj.test_simple_metadata() without return types