def test_invalid_scalar_index(adata, index):
    # https://github.com/theislab/anndata/issues/619
    with pytest.raises(IndexError, match=r".*index.* out of range\."):
        _ = adata[index]
def __init__(self, config_l, path=None, resolver=None):
        super().__init__(path=path, resolver=resolver)
        self._collection = []
        for key, value in enumerate(config_l):
            self._collection.append(self._from_python(str(key), value))