def test_null_distribution_ztest_lazy(self):
    logging.getLogger('tensorflow').setLevel(logging.ERROR)
    logging.getLogger('batchglm').setLevel(logging.WARNING)
    logging.getLogger('diffxpy').setLevel(logging.WARNING)
    np.random.seed(1)
    self.noise_model = 'nb'
    self._test_null_distribution_basic(test='z-test', lazy=True, quick_scale=False)
    self._test_null_distribution_basic(test='z-test', lazy=True, quick_scale=True)
def test_null_distribution_ztest_lazy(self):
    logging.getLogger('tensorflow').setLevel(logging.ERROR)
    logging.getLogger('batchglm').setLevel(logging.WARNING)
    logging.getLogger('diffxpy').setLevel(logging.WARNING)
    np.random.seed(1)
    self.noise_model = 'nb'
    self._test_null_distribution_basic(test='z-test', lazy=True, quick_scale=False)
    self._test_null_distribution_basic(test='z-test', lazy=True, quick_scale=True)