'Test the ability to retrieve a diff for a comparison.'

def test_patch(self):

    cassette_name = self.cassette_name('patch')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        comparison = repository.compare_commits(base='master', head='develop')
        patch = comparison.patch()
    assert patch
