def errorFactory(self, nbytes):
        raise randbytes.SourceNotAvailable()
A factory raising an error when a source is not available.
dataset/ETHPy150Open twisted/twisted/twisted/test/test_randbytes.py/ConditionalSecureRandomTests.errorFactory