def test_should_deny_insertion_illegal_types(self, cfg):
    population = ClassifiersList()
    with pytest.raises(TypeError):
        population.append(4)
def test_should_deny_insertion_illegal_types(self, cfg):
    population = ClassifiersList()
    with pytest.raises(TypeError):
        population.append(4)