def METHOD_NAME(self) -> None:
    with self.assertRaisesRegex(
        Exception,
        (
            "manifest file test section 'dependencies' has "
            "'foo = bar' but this section doesn't allow "
            "specifying values for its entries"
        ),
    ):
        ManifestParser(
            "test",
            """