def METHOD_NAME(self):
    gist = self.g.get_gist("5339374")
    self.assertEqual(sorted(gist.files.keys()), ["bar.txt", "foo.txt"])
    gist.edit(files={"foo.txt": None})
    self.assertEqual(list(gist.files.keys()), ["bar.txt"])