def METHOD_NAME(self):
    name = 'fixtures/test262-yaml-headers.js'
    contents = slurpFile(name)
    (frontmatter, attrs) = findAttrs(contents)
    self.assertIsNotNone(frontmatter)
    self.assertIsNotNone(attrs)
    self.assertEqual(dedent_strip(
        """
        info: >
            The production Block { } in strict code can't contain function
            declaration;
        description: Trying to declare function at the Block statement
        negative: SyntaxError
        bestPractice: "http://wiki.ecmascript.org/doku.php?id=conventions:no_non_standard_strict_decls"
        flags: [onlyStrict]
        """),
        attrs)