def METHOD_NAME(self):
    manifest = [
        "skin global classic/1.0 content/skin/classic/ platform",
        "",
        "binary-component bar.so",
        "unsupported foo",
    ]
    with mozunit.MockedOpen({"manifest": "\n".join(manifest)}):
        with self.assertRaises(AccumulatedErrors):
            with errors.accumulate():
                list(parse_manifest(os.curdir, "manifest"))
        out = self.get_output()
        # Expecting 2 errors
        self.assertEqual(len(out), 2)
        path = os.path.abspath("manifest")
        # First on line 1
        self.assertTrue(out[0].startswith("error: %s:1: " % path))
        # Second on line 4
        self.assertTrue(out[1].startswith("error: %s:4: " % path))