From 0035dac1493131c940da819577191cc14103d82f Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Tue, 19 May 2026 09:40:12 +0200 Subject: [PATCH] tests: fix GPU tests --- src/anndata/_types.py | 2 +- tests/accessors/test_get.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/anndata/_types.py b/src/anndata/_types.py index b06fd7792..75586bbf0 100644 --- a/src/anndata/_types.py +++ b/src/anndata/_types.py @@ -207,7 +207,7 @@ def __call__( store The store to which `elem` should be written. elem_name - The key to read in from the group. + The key to write out to the group. elem The element to write out. iospec diff --git a/tests/accessors/test_get.py b/tests/accessors/test_get.py index 82c1344ab..90fac7c26 100644 --- a/tests/accessors/test_get.py +++ b/tests/accessors/test_get.py @@ -124,7 +124,6 @@ def conv(v: InMemoryArray) -> InMemoryArray: v = v.toarray() return array_conv(v) - adata.X = conv(adata.X) for k, v in adata.layers.items(): adata.layers[k] = conv(v) for k, v in adata.varm.items():