Skip to content

Commit 9490001

Browse files
committed
tests
1 parent 2c57014 commit 9490001

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def test_tree() -> None:
359359
g3 = g1.create_group("bar")
360360
g3.create_group("baz")
361361
g5 = g3.create_group("qux")
362-
g5.create_array("baz", shape=100, chunks=10)
362+
g5.create_array("baz", shape=(100,), chunks=(10,), dtype="float64")
363363
with pytest.warns(DeprecationWarning):
364364
assert repr(zarr.tree(g1)) == repr(g1.tree())
365365
assert str(zarr.tree(g1)) == str(g1.tree())

tests/test_tree.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ def test_tree(root_name: Any) -> None:
1818

1919
A.create_array(name="x", shape=(2), dtype="float64")
2020
A.create_array(name="y", shape=(0,), dtype="int8")
21-
B.create_array(name="x", shape=(0,))
22-
C.create_array(name="x", shape=(0,))
23-
D.create_array(name="x", shape=(0,))
21+
B.create_array(name="x", shape=(0,), dtype="float64")
22+
C.create_array(name="x", shape=(0,), dtype="float64")
23+
D.create_array(name="x", shape=(0,), dtype="float64")
2424

2525
result = repr(g.tree())
2626
root = root_name or ""

0 commit comments

Comments
 (0)