def test_diff(self):
        """Show that one can retrieve a bytestring diff of a PR."""
        cassette_name = self.cassette_name('diff')
        with self.recorder.use_cassette(cassette_name):
            p = self.get_pull_request()
            diff = p.diff()
            assert isinstance(diff, bytes)
            assert len(diff) > 0
dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_pulls.py/TestPullRequest.test_diff/original