def test_withoutGetrandbits(self):
        factory = randbytes.RandomFactory()
        factory.getrandbits = None
        self._check(factory.insecureRandom)
Test C{insecureRandom} without C{random.getrandbits}.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_randbytes.py/RandomTestCaseBase.test_withoutGetrandbits