File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -227,12 +227,10 @@ def check_num_zarr_keys_equal(self) -> None:
227
227
def check_zarr_keys (self ) -> None :
228
228
keys = list (self .store .list ())
229
229
230
- # NOTE: A local store can be non-empty if there are no files,
231
- # but there are subfolders that weren't cleared.
232
- if len (keys ) == 0 :
230
+ if not keys :
233
231
assert self .store .empty () is True
234
232
235
- elif len ( keys ) != 0 :
233
+ else :
236
234
assert self .store .empty () is False
237
235
238
236
for key in keys :
@@ -246,6 +244,6 @@ def mk_test_instance_sync():
246
244
247
245
if isinstance (sync_store , ZipStore ):
248
246
pytest .skip (reason = "ZipStore does not support delete" )
249
- # if isinstance(sync_store, LocalStore):
250
- # pytest.skip(reason="This test does not handle subdirectories ")
247
+ if isinstance (sync_store , LocalStore ):
248
+ pytest .skip (reason = "This test has errors " )
251
249
run_state_machine_as_test (mk_test_instance_sync , settings = Settings (report_multiple_bugs = True ))
You can’t perform that action at this time.
0 commit comments