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

        with pytest.raises(TypeError) as typeError:
            TestListTrim.client.list_trim(key, "contact_no", "Fifth", 2)
        assert "an integer is required" in str(typeError.value)
Invoke list_trim() with index is of type string
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/_test_list_trim.py/TestListTrim.test_list_trim_index_type_string