def METHOD_NAME(self):
    gist = self.g.get_gist("2729810")
    gist.edit(
        "Description edited by PyGithub",
        {"barbaz.txt": github.InputFileContent("File also created by PyGithub")},
    )
    self.assertEqual(gist.description, "Description edited by PyGithub")
    self.assertEqual(
        gist.updated_at,
        datetime(2012, 5, 19, 7, 6, 10, tzinfo=timezone.utc),
    )
    self.assertEqual(set(gist.files.keys()), {"foobar.txt", "barbaz.txt"})