code: def test_required_fields_missing(self, field):
      required_fields = _RAW_EXAMPLE.copy()
  
      del required_fields[field]
  
      with pytest.raises(ExceptionGroup):
          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 7 for calling the TestMetadata obj's underlying member method code with example usage: obj.test_required_fields_missing(field) without return types