diff --git a/snakebids/tests/test_yaml.py b/snakebids/tests/test_yaml.py index da177398..8dee796b 100644 --- a/snakebids/tests/test_yaml.py +++ b/snakebids/tests/test_yaml.py @@ -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()