code: def test_from_raw_validate(self):
      required_fields = _RAW_EXAMPLE.copy()
      required_fields["version"] = "-----"
  
      with pytest.raises(ExceptionGroup):
          # Multiple things to trigger a validation error:
          # invalid version, missing keys, etc.
          metadata.Metadata.from_raw(required_fields)
  
imports: import pathlib
  import pytest
  from packaging import metadata, requirements, specifiers, utils, version
  from packaging.metadata import ExceptionGroup
label_desc: Use image node_id 11 for calling the TestMetadata obj's underlying member method code with example usage: obj.test_from_raw_validate() without return types