fix: check-yml encoding error

manage encoding error
This commit is contained in:
Mirco Dariol 2025-04-12 15:58:28 +02:00
parent 6db05e22aa
commit 58049eb8c8
No known key found for this signature in database
GPG key ID: 58D3620E1F9F2C3B
3 changed files with 11 additions and 1 deletions

View file

@ -9,6 +9,7 @@ from testing.util import get_resource_path
@pytest.mark.parametrize(
('filename', 'expected_retval'), (
('bad_yaml.notyaml', 1),
('bad_encoding_yaml.yaml', 1),
('ok_yaml.yaml', 0),
),
)