code: def test_valid_summary(self):
      summary = "Hello"
      meta = metadata.Metadata.from_raw(
          {"summary": summary}, validate=False
      )
  
      assert meta.summary == summary
  
imports: import pathlib
  import pytest
  from packaging import metadata, requirements, specifiers, utils, version
  from packaging.metadata import ExceptionGroup
label_desc: Use image node_id 21 for calling the TestMetadata obj's underlying member method code with example usage: obj.test_valid_summary() without return types