Skip to content

Commit 7179a13

Browse files
committed
Cover all test cases
1 parent 59d95dc commit 7179a13

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tiledb/tests/test_fixes.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,14 +357,17 @@ def test_sc56611(self):
357357
@pytest.mark.parametrize(
358358
"array_data",
359359
[
360-
np.array([b"", b"1", b"", b"", b"f", b""], dtype="S"),
361-
np.array([b"", b"1", b"", b"", b"f", b"3"], dtype="S"),
360+
np.array([b"", b"testing", b"", b"with empty", b"bytes"], dtype="S"),
361+
np.array([b"and", b"", b"again"], dtype="S"),
362+
np.array(
363+
[b"", b"and with", b"the last one", b"", b"emtpy", b""], dtype="S"
364+
),
362365
],
363366
)
364367
def test_sc62594_buffer_resize(self, array_data):
365368
uri = self.path("test_agis")
366369
dom = tiledb.Domain(
367-
tiledb.Dim(name="dim", domain=(0, 5), tile=2, dtype=np.int64),
370+
tiledb.Dim(name="dim", domain=(0, len(array_data) - 1), dtype=np.int64)
368371
)
369372

370373
schema = tiledb.ArraySchema(

0 commit comments

Comments
 (0)