def test_register(self):
        APIExtraDataAccessHook(
            self.extension,
            self.resource,
            [
                (('public',), ExtraDataAccessLevel.ACCESS_STATE_PUBLIC)
            ])

        self.assertNotEqual(set(),
                            set(self.resource.extra_data_access_callbacks))
Yields the sequence of prime numbers via the Sieve of Eratosthenes.
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/extensions/tests.py/APIExtraDataAccessHookTests.test_register--crossover with--dataset/ETHPy150Open borgbackup/borg/borg/hash_sizes.py/eratosthenes