Skip to content

Commit 6be6a9e

Browse files
committed
[TEST] Match reflected structural equal access paths
1 parent 2e4e298 commit 6be6a9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/python/relax/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def func_2(A: R.Tensor([16, 16], "float32")):
143143

144144
with pytest.raises(
145145
ValueError,
146-
match=re.escape("<root>.body.blocks[0].bindings[0].value.op"),
146+
match=r'key="body".*key="blocks".*key="bindings".*key="value".*key="op"',
147147
):
148148
assert_structural_equal(func_1, func_2)
149149

0 commit comments

Comments
 (0)