Skip to content

Commit 1462080

Browse files
authored
fix schema_diff_test on new debian (#1551)
1 parent 821fed5 commit 1462080

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cmstestsuite/unit_tests/schema_diff_test.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ def split_schema(schema: str) -> list[list[str]]:
3535
statements: list[list[str]] = []
3636
cur_statement: list[str] = []
3737
for line in schema.splitlines():
38-
if line == "" or line.startswith("--"):
38+
if (
39+
line == ""
40+
or line.startswith("--")
41+
or line.startswith("\\restrict")
42+
or line.startswith("\\unrestrict")
43+
):
3944
continue
4045
cur_statement.append(line)
4146
if line.endswith(";"):

0 commit comments

Comments
 (0)