Skip to content

Commit 7ebf8a2

Browse files
author
Luke Shaw
committed
Remove unnecessary commented lines
1 parent 9d0d537 commit 7ebf8a2

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

caterva2/tests/test_api.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -658,11 +658,6 @@ def test_lazyexpr(auth_client):
658658
assert lxinfo["expression"] == expression
659659
assert lxinfo["operands"] == operands
660660

661-
# tempexp = re.sub(
662-
# r"(?<=\s)o0|(?<=\()o0", lxinfo["operands"]["o0"], lxinfo["expression"]
663-
# ) # ds -> o0 automatically
664-
# assert tempexp == f"({re.sub(r'ds', operands['ds'], expression)})"
665-
666661
# Check result data.
667662
a = auth_client.fetch(oppt)
668663
b = auth_client.fetch(lxpath)
@@ -728,17 +723,6 @@ def test_expr_from_expr(auth_client):
728723
assert lxinfo["operands"] == operands
729724
assert lxinfo["expression"] == expression
730725

731-
# tempexp = re.sub(
732-
# r"(?<=\s)o0|(?<=\()o0", lxinfo["operands"]["o0"], lxinfo["expression"]
733-
# ) # ds -> o0 automatically
734-
# assert tempexp == f"({re.sub(r'ds', operands['ds'], expression)})"
735-
736-
# tempexp = lxinfo2["expression"]
737-
# for i, (_op, f) in enumerate(lxinfo2["operands"].items()):
738-
# tempexp = re.sub(rf"(?<=\s)o{i}|(?<=\()o{i}", f, tempexp)
739-
# step1 = f"({re.sub(r'ds', f'({expression})', expression2)})"
740-
# step2 = f"{re.sub(r'ds', operands['ds'], step1)}"
741-
# assert tempexp == step2
742726
assert lxinfo2["operands"] == operands2
743727
assert lxinfo2["expression"] == expression2
744728

0 commit comments

Comments
 (0)