Skip to content

Commit 28954f4

Browse files
committed
skip header field check from syntax body part
1 parent d848172 commit 28954f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_file_with_tree(file):
2020

2121
@pytest.mark.parametrize("file", glob.glob("fixtures/*.ifc"))
2222
def test_file_without_tree(file):
23-
if "fail_too_many_header_entity_fields.ifc" in file:
23+
if any(sub in file for sub in ["fail_too_many_header_entity_fields.ifc", "fail_multiple_wrong_header_fields"]):
2424
pytest.skip("This file relies on header field validation using the parsed AST, "
2525
"but with_tree=False uses a NullTransformer that discards the AST, "
2626
"so validating the header field names is not possible in this mode.")

0 commit comments

Comments
 (0)