def test_feat_factor_max_none():
    filtsz = [random.randint(1, 10) for _ in range(random.randint(2, 6))]
    feat_factor = 10
    with pytest.raises(AssertionError):
        calc_nfeats(filtsz, nfeat_factor=feat_factor, max_feat=None)
def test_feat_factor_max_none():
    filtsz = [random.randint(1, 10) for _ in range(random.randint(2, 6))]
    feat_factor = 10
    with pytest.raises(AssertionError):
        calc_nfeats(filtsz, nfeat_factor=feat_factor, max_feat=None)