def test_label(self):
        cassette_name = self.cassette_name('label')
        with self.recorder.use_cassette(cassette_name):
            repository = self.gh.repository('sigmavirus24', 'github3.py')
            label = repository.label('bug')
        assert isinstance(label, github3.issues.label.Label)
Test that a user can retrieve a repository's label.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_repos_repo.py/TestRepository.test_label