Skip to content

Commit

Permalink
Exclude incompatible newline char from yaml test
Browse files Browse the repository at this point in the history
ruamel fails to roundtrip the \x85 unicode character
  • Loading branch information
pvandyken committed Jan 16, 2024
1 parent 6ce4e2c commit 19215f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakebids/tests/test_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from snakebids.tests.helpers import allow_function_scoped


@given(path=st.text(min_size=1).map(Path))
@given(path=st.text(st.characters(blacklist_characters=["\x85"]), min_size=1).map(Path))
def test_paths_formatted_as_str(path: Path):
string = StringIO()
yaml = yamlio.get_yaml_io()
Expand Down

0 comments on commit 19215f8

Please sign in to comment.