Skip to content

Commit d40593b

Browse files
committed
removed ensure_cls()
1 parent fdcf949 commit d40593b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

zarr/tests/test_meta_array.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,6 @@ def init_store(tmp_path, store_type) -> Optional[Store]:
104104
return None
105105

106106

107-
def ensure_cls(obj):
108-
if isinstance(obj, str):
109-
module, cls_name = obj.rsplit(".", maxsplit=1)
110-
return getattr(pytest.importorskip(module), cls_name)
111-
return obj
112-
113-
114107
def ensure_module(module):
115108
if isinstance(module, str):
116109
return pytest.importorskip(module)

0 commit comments

Comments
 (0)