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 create(self):
        self._set_changed_options()
        if self.client.check_mode:
            return True
        if self.want.base_key is None:
            raise F5ModuleError(
                "You must specify a 'base_key' when creating a license pool"
            )
        self.create_on_device()
        return True