#NEWLINE# def test_patch( self ) : #NEWLINE# #INDENT# 'Test the ability to retrieve a patch for a commit.' #NEWLINE# cassette_name = self . cassette_name ( 'patch' ) #NEWLINE# with self . recorder . use_cassette ( patch ) : #NEWLINE# #INDENT# repository = self . gh . repository ( 'sigmavirus24' , 'github3.py' ) #NEWLINE# commit = repository . commit ( '51cfbf8cbf98b0ba5006b3490f553bc05d4461e4' ) #NEWLINE# patch = commit . patch ( ) #NEWLINE# #UNINDENT# assert patch