def test_events(self):
        cassette_name = self.cassette_name('events')
        with self.recorder.use_cassette(cassette_name):
            repository = self.gh.repository('sigmavirus24', 'github3.py')
            assert repository is not None
            events = list(repository.events(number=100))

        assert len(events) > 0
        for event in events:
            assert isinstance(event, github3.events.Event)
Print exceptions raised by subscribers to stderr.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_repos_repo.py/TestRepository.test_events--crossover with--dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/monitoring.py/_handle_exception