code: def test_from_email(self):
      metadata_version = "2.3"
      meta = metadata.Metadata.from_email(
          f"Metadata-Version: {metadata_version}", validate=False
      )
  
      assert meta.metadata_version == metadata_version
  
imports: import pathlib
  import pytest
  from packaging import metadata, requirements, specifiers, utils, version
  from packaging.metadata import ExceptionGroup
label_desc: Use image node_id 2 for calling the TestMetadata obj's underlying member method code with example usage: obj.test_from_email() without return types