#NEWLINE# def test_create_pull_from_issue( self ) : #NEWLINE# #INDENT# '\n        Test the ability to create a pull request from an issue on a\n        repository.\n        ' #NEWLINE# self . token_login ( ) #NEWLINE# cassette_name = self . cassette_name ( 'create_pull_from_issue' ) #NEWLINE# with self . recorder . use_cassette ( self ) : #NEWLINE# #INDENT# repository = self . gh . repository ( 'sigmavirus24' , 'github3.py' ) #NEWLINE# pull_request = repository . create_pull_from_issue ( issue = 536 , base = 'develop' , head = 'itsmemattchung:tests/migrate-repos' ) #NEWLINE# #UNINDENT# assert isinstance ( pull_request , github3 . pulls . PullRequest )