Skip to content

Commit 66c7dab

Browse files
author
Luke Shaw
committed
Change tests to be consistent with blosc2 dev version
1 parent 551c960 commit 66c7dab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

caterva2/tests/test_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ def test_lazyexpr(auth_client):
655655
lxinfo = auth_client.get_info(lxpath)
656656
assert lxinfo["shape"] == opinfo["shape"]
657657
assert lxinfo["dtype"] == opinfo["dtype"]
658-
assert lxinfo["expression"] == f"{expression}"
658+
assert lxinfo["expression"] == f"({expression})"
659659
assert lxinfo["operands"] == operands
660660

661661
# Check result data.
@@ -720,8 +720,8 @@ def test_expr_from_expr(auth_client):
720720
lxinfo2 = auth_client.get_info(lxpath2)
721721
assert lxinfo["shape"] == opinfo["shape"] == lxinfo2["shape"]
722722
assert lxinfo["dtype"] == opinfo["dtype"] == lxinfo2["dtype"]
723-
assert lxinfo["expression"] == f"{expression}"
724-
assert lxinfo2["expression"] == f"{expression2}"
723+
assert lxinfo["expression"] == f"({expression})"
724+
assert lxinfo2["expression"] == f"({expression2})"
725725
assert lxinfo["operands"] == operands
726726
assert lxinfo2["operands"] == operands2
727727

0 commit comments

Comments
 (0)