def test_random_function_noshape_noargs(self):
        rng_R = random_state_type()

        # No shape, no args -> TypeError
        self.assertRaises(TypeError, poisson, rng_R, size=None, ndim=2)
Defining mocks for LibvirtConnection(libvirt is not used).
dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/tensor/tests/test_raw_random.py/T_random_function.test_random_function_noshape_noargs--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/test_libvirt.py/LibvirtConnTestCase.create_fake_libvirt_mock