def METHOD_NAME(self):
    self.milestone.edit(
        "Title edited twice by PyGithub",
        "closed",
        "Description edited by PyGithub",
        due_on=date(2012, 6, 16),
    )
    self.assertEqual(self.milestone.title, "Title edited twice by PyGithub")
    self.assertEqual(self.milestone.state, "closed")
    self.assertEqual(self.milestone.description, "Description edited by PyGithub")
    self.assertEqual(
        self.milestone.due_on,
        datetime(2012, 6, 16, 7, 0, 0, tzinfo=timezone.utc),
    )