Skip to content

Commit 7079e7a

Browse files
committed
A leading '/' is not mandatory anymore
1 parent 72b5813 commit 7079e7a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/test_tree_store.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ def test_hierarchical_key_validation():
8888
assert isinstance(tstore["/b"], TreeStore)
8989

9090
# Invalid keys
91-
with pytest.raises(ValueError, match="Key must start with '/'"):
92-
tstore["invalid"] = np.array([1])
9391
with pytest.raises(ValueError, match="Key cannot end with '/'"):
9492
tstore["/invalid/"] = np.array([1])
9593
with pytest.raises(ValueError, match="empty path segments"):

0 commit comments

Comments
 (0)