def test_create_pull_from_issue(self):
        self.token_login()
        cassette_name = self.cassette_name('create_pull_from_issue')
        with self.recorder.use_cassette(cassette_name):
            repository = self.gh.repository('sigmavirus24', 'github3.py')
            pull_request = repository.create_pull_from_issue(
                issue=536,
                base='develop',
                head='itsmemattchung:tests/migrate-repos',
            )

        assert isinstance(pull_request, github3.pulls.PullRequest)
Test the ability to create a pull request from an issue on a
dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_repos_repo.py/TestRepository.test_create_pull_from_issue