Skip to content

Commit 5628518

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 80cb46e commit 5628518

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/validator_tests/test_validate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,7 @@ def test_scalar_instead_of_array(self):
16071607
self.assertIsInstance(result[0], ExpectedArrayError)
16081608
self.assertNotIsInstance(result[0], ShapeError)
16091609

1610-
1610+
16111611
class TestObjectDtypeArrays(TestCase):
16121612
"""Test validation of arrays with object dtype (e.g., zarr variable length strings)"""
16131613

@@ -1622,7 +1622,7 @@ def set_up_spec(self):
16221622
'a test namespace', CORE_NAMESPACE, [{'source': 'test.yaml'}], version='0.1.0', catalog=spec_catalog)
16231623
self.vmap = ValidatorMap(self.namespace)
16241624

1625-
@skipIf(not ZARR_INSTALLED, "Zarr is not installed")
1625+
@skipIf(not ZARR_INSTALLED, "Zarr is not installed")
16261626
def test_non_empty_object_dtype_array(self):
16271627
"""Test that validator can determine dtype for non-empty zarr.Array with object dtype"""
16281628
import zarr
@@ -1640,7 +1640,7 @@ def test_non_empty_object_dtype_array(self):
16401640
# Should pass validation - object array with strings should be detected as 'utf' type
16411641
self.assertEqual(len(results), 0)
16421642

1643-
@skipIf(not ZARR_INSTALLED, "Zarr is not installed")
1643+
@skipIf(not ZARR_INSTALLED, "Zarr is not installed")
16441644
def test_empty_object_dtype_array(self):
16451645
"""Test that validator can determine dtype for empty zarr.Array with object dtype"""
16461646
import zarr

0 commit comments

Comments
 (0)