def test_due_on(self):
        json = self.instance.as_dict().copy()
        json['due_on'] = '2012-12-31T23:59:59Z'
        milestone = github3.issues.milestone.Milestone(json)
        assert isinstance(milestone.due_on, datetime.datetime)
Show that due on attribute is a datetime object.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/unit/test_issues_milestone.py/TestMilestone.test_due_on