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