code: def test_invalid_dynamic_value(self):
      dynamic = ["Keywords", "NotReal", "Author"]
      meta = metadata.Metadata.from_raw(
          {"dynamic": dynamic}, validate=False
      )
  
      with pytest.raises(metadata.InvalidMetadata):
          meta.dynamic
  
imports: import pathlib
  import pytest
  from packaging import metadata, requirements, specifiers, utils, version
  from packaging.metadata import ExceptionGroup
label_desc: Use image node_id 37 for calling the TestMetadata obj's underlying member method code with example usage: obj.test_invalid_dynamic_value() without return types