diff --git a/pyproject.toml b/pyproject.toml index 3cc1b31a3..eeff608b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,7 +85,7 @@ doc = [ dev-doc = ["towncrier>=24.8.0"] # release notes tool test = [ "loompy>=3.0.5", - "pytest>=8.2", + "pytest>=8.2,<8.3.4", "pytest-cov>=2.10", "zarr<3.0.0a0", "matplotlib", diff --git a/src/anndata/_io/specs/registry.py b/src/anndata/_io/specs/registry.py index ca13f8e59..798b812d4 100644 --- a/src/anndata/_io/specs/registry.py +++ b/src/anndata/_io/specs/registry.py @@ -130,7 +130,6 @@ def get_write( if dest_type is h5py.File: dest_type = h5py.Group - if (dest_type, src_type, modifiers) not in self.write: raise IORegistryError._from_write_parts(dest_type, src_type, modifiers) internal = self.write[(dest_type, src_type, modifiers)]