def test_neg_list_insert_index_type_string(self):
        key = ('test', 'demo', 1)

        with pytest.raises(TypeError) as typeError:
            self.as_connection.list_insert(key, "age", "Fifth", False)
        assert "an integer is required" in str(typeError.value)
Test epoch counter with max_epochs={True,False}
dataset/ETHPy150Open aerospike/aerospike-client-python/test/new_tests/test_list_insert.py/TestListInsert.test_neg_list_insert_index_type_string--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/termination_criteria/tests/test_init.py/test_epoch_counter