def test_neg_list_get_index_type_string(self):
        """
        Invoke list_get() with index is of type string
        """
        key = ('test', 'demo', 1)

        with pytest.raises(TypeError) as typeError:
            self.as_connection.list_get(key, "contact_no", "Fifth")
        assert "an integer is required" in str(typeError.value)
dataset/ETHPy150Open aerospike/aerospike-client-python/test/new_tests/test_list_get.py/TestListGet.test_neg_list_get_index_type_string/original